On Thu, Oct 29, 2015 at 6:18 PM, Yclept Nemo <[email protected]> wrote:
> How to unambiguously match: > > # spaces? key spaces? = spaces? value? spaces? comment? > > where "key" is the node key, "value" the node value, and "comment" and > child node? > > > These are all accurate but create ambiguities in the put direction: > > = (spaces | ((spaces? . value)? . (spaces? . comment)?)) > > = spaces? . (value | comment | (value . spaces? . comment?))? > > = (spaces? | (spaces? . value) | (spaces? . comment) | (spaces? . > value . spaces? . comment)) > > ... whether or not the union branches occur on the lens or node level. > Can you provide us with the file for which you are trying to write a lens and/or what you have so far ? That might make it easier to help troubleshoot the issues you are running into. David
_______________________________________________ augeas-devel mailing list [email protected] https://www.redhat.com/mailman/listinfo/augeas-devel
