Generic separators to build lenses
Author: Raphael Pinson rap@gmai l.com hink
Sep | Generic separators to build lenses |
License | This file is licensed under the LGPLv2+, like the rest of Augeas. |
Augeas Variables | |
colon | |
comma | |
equal | |
space | Deletes a Rx.space and default to a single space |
tab | Deletes a Rx.space and default to a tab |
opt_space | Deletes a Rx.opt_space and default to an empty string |
opt_tab | Deletes a Rx.opt_space and default to a tab |
let space = del Rx.space " "
Deletes a Rx.space and default to a single space
let tab = del Rx.space "\t"
Deletes a Rx.space and default to a tab
let opt_space = del Rx.opt_space ""
Deletes a Rx.opt_space and default to an empty string
let opt_tab = del Rx.opt_space "\t"
Deletes a Rx.opt_space and default to a tab
let colon = Util.del_str ":"
let comma = Util.del_str ","
let equal = Util.del_str "="
Deletes a Rx.space and default to a single space
let space = del Rx.space " "
A mandatory space or tab
let space = /[ \t]+/
Deletes a Rx.space and default to a tab
let tab = del Rx.space "\t"
Deletes a Rx.opt_space and default to an empty string
let opt_space = del Rx.opt_space ""
An optional space or tab
let opt_space = /[ \t]*/
Deletes a Rx.opt_space and default to a tab
let opt_tab = del Rx.opt_space "\t"