bug-gawk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [bug-gawk] feature request: expanding escape sequences


From: Manuel Collado
Subject: Re: [bug-gawk] feature request: expanding escape sequences
Date: Sun, 06 Jul 2014 20:05:05 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:24.0) Gecko/20100101 Thunderbird/24.1.1

El 06/07/2014 16:26, Ed Morton escribió:
Arnold - I don't believe it can be done fairly easily in any way. For
example, wrt your suggestion of splitting on an RE, let's say I define my
escape-sequence matching RE as '\[[:alpha:]]`. Well, that's wrong:

Please try this RE:

  /\\(x[0-9a-fA-F]*|[0-7]{1,3}|.)/

It should match every valid escape sequence. And every unnecessarily escaped normal character.

Hope this helps. Regards.
--
Manuel Collado - http://lml.ls.fi.upm.es/~mcollado




reply via email to

[Prev in Thread] Current Thread [Next in Thread]