Sep

Generic separators to build lenses

Author: Raphael Pinson rap.nosp@m.hink@gmai.nosp@m.l.com

Summary
SepGeneric separators to build lenses
LicenseThis file is licensed under the LGPLv2+, like the rest of Augeas.
Augeas Variables
colon
comma
equal
spaceDeletes a Rx.space and default to a single space
tabDeletes a Rx.space and default to a tab
opt_spaceDeletes a Rx.opt_space and default to an empty string
opt_tabDeletes a Rx.opt_space and default to a tab

License

This file is licensed under the LGPLv2+, like the rest of Augeas.

Augeas Variables

colon

let colon = Util.del_str ":"

comma

let comma = Util.del_str ","

equal

let equal = Util.del_str "="

space

let space = del Rx.space " "

Deletes a Rx.space and default to a single space

tab

let tab = del Rx.space "\t"

Deletes a Rx.space and default to a tab

opt_space

let opt_space = del Rx.opt_space ""

Deletes a Rx.opt_space and default to an empty string

opt_tab

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 "="
let space = del Rx.space " "
Deletes a Rx.space and default to a single space
let space = /[ \t]+/
A mandatory space or tab
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_space = /[ \t]*/
An optional space or tab
let opt_tab = del Rx.opt_space "\t"
Deletes a Rx.opt_space and default to a tab
Close