[Fri, Aug 06, 1999 at 10:49:12AM -0400] Bill Jones: > s{(\d+\.\d+)} {<A HREF="$1">$1</A>}g; > > What can I change to also match an optional > third or fourth ( #.#.# or #.#.#.# ) section number??? > > I am looking at various forms of - > s{(\d+\.\d+){1}(\.\d+)?(\.\d+)?} {<A HREF="$1">$1</A>}g; (\d+(?:\.\d+){1,3}) > ??? HTH, > -Sneex- :] --Matthew ==== Want to unsubscribe from Fun With Perl? Well, if you insist... ==== Send email to <fwp-request@technofile.org> with message _body_ ==== unsubscribe