[Home] [By Thread] [By Date] [Recent Entries]
David Carlisle wrote:
your regexp is looking for a \r (character 13) in the input, you have to try pretty hard to get this character into an input document (the character has to be quoted as a numeric character reference) all common line ending conventions are normalised to a single character 10 which you can match with \n. with the notable exception of unparsed-text(), which does not normalize line endings at all. (Which had me trapped sometimes when porting code that worked with input documents to code that worked with unparsed-text() retrieved documents...) Cheers, -- Abel Braaksma
|

Cart



