In message <[EMAIL PROTECTED]>, "Jero me Jacobsen" writes: >Is there a way ORO to do this? Or is there a way to specify this in the >pattern itself?
The normal way to do this in Perl is to use ^ and $ to denote the start and end of the match (i.e., you "specify this in the pattern itself"): $foo =~ /^(?:|STUFF|JUNK)$/ so I believe what you want is: Pattern pattern = compiler.compile("^(?:|STUFF|JUNK)$"); daniel -- To unsubscribe, e-mail: <mailto:oro-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:oro-user-help@;jakarta.apache.org>