|
Philippe Lhoste wrote:
But in this case, you can append a '\n' to the string and match it with "foo([\r\n])"You want to write something like "foo([\r\n]|$)"?It isn't possible with the standard string library, because the regex engine is simple and doesn't support alternatives.
-- Thomas Lavergne "Le vrai rêveur est celui qui rêve de l'impossible." (Elsa Triolet) thomas.lavergne@reveurs.org http://reveurs.org