On 2013-09-27 at 12:48 PM, [email protected] (LuKreme) wrote:
searching: ^[^/]+\/
this matches across lines
file1
file2
file3
path/to/file
since when does + match across line breaks?
Or am I misremembering?
Always has. You might be thinking of the dot '.', which in
regexes matches any character except a line break, unless you've
used the s modifier -- /pattern/s or (?s) in the regex.
'+' simply means '1 or more' of whatever part of the regex
immediately precedes it.
Best Regards,
- Bruce
_bruce__van_allen__santa_cruz_ca_
--
This is the BBEdit Talk public discussion group. If you have a
feature request or would like to report a problem, please email
"[email protected]" rather than posting to the group.
Follow @bbedit on Twitter: <http://www.twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].