[augeas-devel] [Augeas] #208: regexp doesn't work if the string has newlines
Augeas
trac at fedorahosted.org
Fri Jul 1 19:07:08 UTC 2011
#208: regexp doesn't work if the string has newlines
-----------------------+----------------------------------------------------
Reporter: rgevaert | Owner: lutter
Type: defect | Status: closed
Priority: major | Milestone: next
Component: Augeas | Version: 0.8.0
Resolution: fixed | Keywords:
-----------------------+----------------------------------------------------
Changes (by lutter):
* status: new => closed
* resolution: => fixed
Comment:
The regexp isn't quite right - just as in the rest of Augeas, '.' does not
match newlines; to also match newlines, you have to write '(.|\n)'
Unfortunately, there was also a bug in that escape sequences weren't
interpreted. I just pushed a fix for that as commit f3bf6990
--
Ticket URL: <https://fedorahosted.org/augeas/ticket/208#comment:1>
Augeas <http://augeas.net/>
a configuration API
More information about the augeas-devel
mailing list