regular expressions
0ffh
spam at frankhirsch.net
Sun Mar 11 15:00:27 PDT 2007
torhu wrote:
> 0ffh wrote:
>> [...]
>> To be precise, http://www.digitalmars.com/ctg/regular.html says
>> that "." matches any character. I seem to have found at least
>> one exception, the newline character "\n".
>> [...]
> It's standard in regex syntax that the dot doesn't match a newline.
> Should probably have been mentioned in the docs, though.
> [...]
Well, that would appear to be the reason, then.
As I have found a trivial workaround, it's just as well.... :)
Thanks, 0ffh
More information about the Digitalmars-d
mailing list