Augeas Variable Index
$#! · 0-9 · A · B · C · D · E · F · G · H · I · J · K · L · M · N · O · P · Q · R · S · T · U · V · W · X · Y · Z
A
 alpha, Cron
 alphanum, Cron
 at, Syslog
B
 bang, Syslog
C
 colon
 comma
 comment
 comment_default, IniFile
 comment_re, IniFile
 comparison, Syslog
 controller, cgrules
 ctrl_key, cgrules
 ctrl_value, cgrules
D
 del_opt_ws, Util
 del_str, Util
 del_ws, Util
 del_ws_spc, Util
 del_ws_tab, Util
 dot, Syslog
E
 email_addr, Rx
 empty
 empty line, Access
 entries_re, Xorg
 entry_re
 eol
F
 file_r, Syslog
 filter
 fspath
G
 generic_entry_re, Xorg
 group_record, cgrules
I
 indent
 int, Xorg
 ipaddr, Pg_Hba
L
 loghost_r, Syslog
N
 name, cgrules
 num, Cron
O
 opt_hash, Syslog
 opt_plus, Syslog
 optval
P
 pipe, Syslog
 plus, Syslog
Q
 quoted_string_val, Xorg
R
 record_label_re, IniFile
 record_re, IniFile
 remtypes, Pg_Hba
let alpha = /[A-Za-z]{3}/
let alphanum = num | alpha
let at = Util.del_str "@"
Deletes a at and default to it
let bang = Util.del_str "!"
Deletes a bang and default to it
let colon = Sep.space . Sep.colon . Sep.space
this is the standard field separator “ : “
let colon = sep_tab_opt . Util.del_str ":" . sep_tab_opt
Deletes a colon and default to it
let comma = Sep.comma
let comma = sep_tab_opt . Util.del_str "," . sep_tab_opt
Deletes a comma and default to it
let comment = Util.comment
let comment = Util.comment
let comment = Util.comment
let comment = Util.comment
let comment = Util.comment
let comment_default = ";"
Default value for comment pattern
let comment_re = /[;#]/
Default regexp for comment pattern
let comparison = /(!|[<=>]+|![<=>]+)/
a comparison is an optional !
let controller = ws . [ key ctrl_key . ws . store ctrl_value ]
let ctrl_key = /[^ \t\n\/]+/
let ctrl_value = /[^ \t\n]+/
let del_opt_ws = del /[ \t]*/
Delete optional whitespace
let del_str (s:string) = del s s
Delete a string and default to it
let del_ws = del /[ \t]+/
Delete mandatory whitespace
let del_ws_spc = del_ws " "
Delete mandatory whitespace, default to single space
let del_ws_tab = del_ws "\t"
Delete mandatory whitespace, default to single tab
let dot = Util.del_str "."
Deletes a dot and default to it
let email_addr = /[A-Za-z0-9_\+\.-]+@[A-Za-z0-9_\.-]+/
To be refined
let empty = Util.empty
let empty = Util.empty
let empty = Util.empty
let empty = Util.empty
let empty = Util.empty
let entries_re = /(
   [oO]ption|[sS]creen|[iI]nput[dD]evice|[dD]river|[sS]ub[sS]ection|[dD]isplay|[iI]dentifier|[vV]ideo[rR]am|[dD]efault[dD]epth|[dD]evice
)/
This is a list of all patterns which have specific handlers, and should therefore not be matched by the generic handler
let entry_re = /path|allow|deny/
Regexp for possible entry keyword (path, allow, deny)
let entry_re = (/[A-Za-z][A-Za-z0-9\._-]+/)
Default regexp for entry keyword
let eol = Util.eol
let eol = Util.eol
let eol = Util.eol
let eol = Util.eol
End of line, inherited from Util.eol
let eol = del /[ \t]*(#)?[ \t]*\n/ "\n"
let eol = del /[ \t]*\n/ "\n"
let eol = Util.eol
let eol = del /[ \t]*\n/ "\n"
Delete end of line, including optional trailing whitespace
let eol = Util.eol
let file_r = /\/[^ \t\n]+/
a file begins with a / and get almost anything else after
all you need is /etc/syslog.conf
let fspath = Rx.fspath
let generic_entry_re = /[^# \t\n\/]+/ - entries_re
let group_record = generic_record "group" (Util.del_str "@" . store name)
let indent = Util.indent
let indent = del /[ \t]*/ ""
let indent = del /[ \t]*/ ""
Delete indentation, including leading whitespace
let indent = Util.indent
let int = /[0-9]+/
let ipaddr = /[0-9a-fA-F:\.]+(\/[0-9]+|[ \t]+[0-9\.]+)/
CIDR or ip+netmask
let loghost_r = /[a-zA-Z0-9](
   [a-zA-Z0-9-]*[a-zA-Z0-9]
)?(\.[a-zA-Z0-9]([a-zA-Z0-9-]*[a-zA-Z0-9])?)*/
Matches a hostname, that is labels speparated by dots, labels can’t start or end with a “-”.
let name = /[^@%\# \t\n][^ \t\n]*/
let num = /[0-9\*][0-9\/,-\*]*/
let opt_hash = del /#?/ ""
deletes an optional # sign
let opt_plus = del /\+?/ ""
deletes an optional + sign
let optval = /[A-Za-z0-9_.:-]+/
let pipe = Util.del_str "|"
Deletes a pipe and default to it
let plus = Util.del_str "+"
Deletes a plus and default to it
let quoted_string_val = del "\"" "\"" . store /[^"\n]+/ . del "\"" "\""
let record_label_re = /[^]\n]+/
Default regexp for title_label keyword pattern
let record_re = (/[^]\n\/]+/ /#comment/)
Default regexp for title keyword pattern
let remtypes = "host" | "hostssl" | "hostnossl"
non-local connection types
Close