|
-
December 4th, 2017, 05:23 AM
#1
Conditional regex
Having following regex:
and test string:
it matches `a`(line #1), `e`(line #2), `e`(line #3).
I think it should match just `a`(line #1) because there are 3 lines but only ONE string - `\AA` matches `A` only once (on the first line of the string) and therefore applies `a` pattern which matches only `a` in the fist line.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|