Regex matching of an empty string
7 May
2005
7 May
'05
12:34 a.m.
If the string to match is an empty string, "", and the regular expression is such that it matches the empty string, such as "^$", should a match be found ?
7 May
7 May
1:54 a.m.
Edward Diener wrote:
If the string to match is an empty string, "", and the regular expression is such that it matches the empty string, such as "^$", should a match be found ?
Yes. Are you finding that's not the case? -- Eric Niebler Boost Consulting www.boost-consulting.com
7145
Age (days ago)
7145
Last active (days ago)
2 comments
3 participants
participants (3)
-
Edward Diener
-
Eric Niebler
-
John Maddock