Merge Augeas lens fix for backslashes in regexps

https://github.com/hercules-team/augeas/issues/307
155746c72f
This commit is contained in:
Peter Eckersley 2015-11-26 16:59:06 -08:00
parent 33aff08c36
commit c48ee677df

View file

@ -59,7 +59,7 @@ let empty = Util.empty_dos
let indent = Util.indent
(* borrowed from shellvars.aug *)
let char_arg_dir = /[^\\ '"\t\r\n]|\\\\"|\\\\'/
let char_arg_dir = /([^\\ '"\t\r\n]|[^\\ '"\t\r\n][^ '"\t\r\n]*[^\\ '"\t\r\n])|\\\\"|\\\\'/
let char_arg_sec = /[^ '"\t\r\n>]|\\\\"|\\\\'/
let cdot = /\\\\./
let cl = /\\\\\n/