Gello Gunter!

On Sunday 06 August 2006 10:12 Gunter Ohrner wrote:
> fsvs doesn't support character ranges like [a-z] in its shell glob
> patterns, PCRE has to be used instead where this is needed, correct?
In ignore.c, line 118 and following, you see a piece of code where the "shell" 
patterns are compiled into pcre patterns.

It does convert "*", "**" and "?" into special values; all other are passed 
as-is (or, in the case of "{", "[", etc., escaped).

So yes, only the beforementioned "patterns" are possible in shell-like syntax; 
for everything else you need PCRE.

That's a bit incompatible with the rsync-syntax, which I wanted to duplicate.
But PCRE are much more powerfull.


Regards,

Phil


-- 
Versioning your /etc, /home or even your whole installation?
             Try fsvs (fsvs.tigris.org)!

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to