Fabio,
The difference is the bottom one will match multiple as's in an as path
becoase the _ is also allowed to be repeated. The 2nd one will only match
"100 " then a list of digits between 0-9 without any spaces.
E.g.
Expression 1 would match:
100 200 300 111
Expression 2 would match:
100 200300111
Regards,
Peter
-----Original Message-----
From: nobody@xxxxxxxxxxxxxx [mailto:nobody@xxxxxxxxxxxxxx] On Behalf Of
Fabio Rodrigues
Sent: 12 September 2006 16:12
To: ccielab@xxxxxxxxxxxxxx
Subject: Regular Expressions
Hi All,
does anyone knows to say the difference of the effect (if exists) of these
two regular expressions?
^100(_[ 0-9]+)?$
^100_[0-9]*$
Tks,
Fabio.
_______________________________________________________________________
Subscription information may be found at:
http://www.groupstudy.com/list/CCIELab.html
_______________________________________________________________________
Subscription information may be found at:
http://www.groupstudy.com/list/CCIELab.html