In message <31B95AE31DF0D311A25200805F857D471C0F1F@Pulinco_1>, Markus Schlegel writes: >I try to use Util.split() with the Pattern "[!/]|" compiled with >GlobCompiler, matched with Perl5Matcher. > >Splitting "foo/|bar" correctly results in {"foo/|bar"}. > >Splitting "foo|bar" results in {"fo","bar"}, where I expected to have >{"foo", "bar"}.
This is behaving correctly. For glob expressions, [!/] means any character but /. So 'o|' matches and 'foo|bar' is split into 'fo' and 'bar' daniel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>