On Tue, Dec 29, 2015 at 6:36 PM, Diego <[email protected]> wrote:

> In data lunedì 28 dicembre 2015 18:00:35, Diego ha scritto:
> > while from an equivalent Java program, the strings in:
> > augeasHandle.match("/files/etc/network/interfaces/*")
>
> Hi,
>
> It looks like I was wrong. By checking my code I discovered I was actually
> calling the match method with two "/", like this:
> augeasHandle.match("/files/etc/network/interfaces//*")
>


That is what I expected indeed from reading your question. As in standard
XPath, // stands for any sublevel, which makes sense here.


Cheers,


Raphaël


Camptocamp France
Savoie Technolac
BP 352
48, avenue du Lac du Bourget
73372 Le Bourget du Lac, Cedex
www.camptocamp.com
_______________________________________________
augeas-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/augeas-devel

Reply via email to