From: Peter Cresswell (p-cresswell@iname.com)
Date: Tue Sep 12 2006 - 13:07:08 ART
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@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Fabio Rodrigues
Sent: 12 September 2006 16:12
To: ccielab@groupstudy.com
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.
This archive was generated by hypermail 2.1.4 : Sun Oct 01 2006 - 16:55:40 ART