Gitweb: http://git.fedorahosted.org/git/augeas.git?p=augeas.git;a=commitdiff;h=034eac6ffaa94850c19cda6bb4b3613fbb8d12de Commit: 034eac6ffaa94850c19cda6bb4b3613fbb8d12de Parent: 93b41b0a710a0090cb6cddbe83e3165b112d3b05 Author: David Lutterkort <[email protected]> AuthorDate: Wed Sep 2 17:00:53 2009 -0700 Committer: David Lutterkort <[email protected]> CommitterDate: Wed Sep 2 17:00:53 2009 -0700
* lenses/rx.aug (fspath): simplistic regex for filesystem paths --- lenses/rx.aug | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/lenses/rx.aug b/lenses/rx.aug index 3c562e2..482a3ec 100644 --- a/lenses/rx.aug +++ b/lenses/rx.aug @@ -22,6 +22,9 @@ let word = /[A-Za-z0-9_.-]+/ let integer = /[0-9]+/ let decimal = /[0-9]+[.,][0-9]+/ +(* A filesystem path *) +let fspath = /[^ \t\n]+/ + (* All but... *) (* Anything but a space, a comma or a comment sign *) let neg1 = /[^,# \n\t]+/ _______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
