Following the mail last week, I decided to implement regexp match with a
'=~' operator, and by making the constructor for regexps an ordinary
function, cunningly called 'regexp'. With that, you can now write:

  match /files/etc/sysconfig/network-scripts/*[label() =~ regexp('.*-eth0')]

Note that these patches need to be applied on the error API patch series I
just sent out.

David

_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to