I recently assembled a lens in Augeas and now it's not functioning quite as desired.
My file contains a few references with the following syntax:
Value1 = KEY 32 OR\
KEY 33 OR\
....
How do I represent the backslash newline combination and treat it as part of the same value?
EDIT - I'm running version .10.0
...
let comment = IniFile.comment IniFile.comment_re IniFile.comment_default
let sep = IniFile.sep IniFile.sep_re IniFile.sep_default
let empty = IniFile.empty
let setting = IniFile.entry_re
let title = IniFile.indented_title_label "target" IniFile.record_label_re
let entry = [ key IniFile.entry_re . sep . IniFile.sto_to_comment . (comment|IniFile.eol) ] |
[ key IniFile.entry_re . store // . (comment|IniFile.eol) ] |
[ key /\![A-Za-z][A-Za-z0-9\._-]+/ . del / / " " . store /\/[A-Za-z0-9\.\/_-]+/ . (comment|IniFile.eol) ] |
comment
let record = IniFile.record title entry
let record_anon = [ label ".anon" . ( entry | empty )+ ]
let lns = record_anon | record*
...