18994Re: Using regex to insert a comment
- Mar 7, 2009Michael,
> Both assertions found only the last instance of "line" on theWell, that's the way it works. The first instance of "line" is not at "the end of subject" (Help on RegEx). So it isn't matched.
> last line and not on a preceding line.
As I said, the difference between \Z and \z has to do with a New Line at the end of the document. Please test it again: (A) with another CRNL after the second "line" and (B) without.
- << Previous post in topic