On Thu, 2008-07-24 at 09:37 -0700, [EMAIL PROTECTED] wrote:
> # HG changeset patch
> # User [EMAIL PROTECTED]
> # Date 1216917462 25200
> # Node ID 4b889eda816bdb1b3bff21fd8a2a89029813a1a2
> # Parent  cd648dc6a9492fe3b703e5ebc7f43d05bb03adeb
> Fix Relax-NG pattern matching
> 
> Don't use unescaped meta-characters in the patterns.

Haven't checked myself, but are you sure that in the Relax-NG '.' and
'+' retain their special meaning inside character classes ? In some
regex syntaxes (e.g. extended POSIX) they are treated as ordinary
characters inside a character class - as an example, run
        echo "a.b.c" | sed -r -e 's/[.]/:/g'
        
In any event, the '-' characters need to go at the very end of those
character classes - that's definitely broken.

David


_______________________________________________
et-mgmt-tools mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to