Hello Markus,

>
> Hi, I have two questions for pattern matching with drools:
>
> 1. I have a multiline string to which a would match an expression. I've
> tried that in various ways, but none worked. Is this not supported?
>
You can prefix the regex to be matched with "(?m)", which enables
multiline mode. The full set of available flags are documented under
"Special Constructs" on the javadoc for pattern:

http://java.sun.com/javase/6/docs/api/java/util/regex/Pattern.html

Dean.
_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to