Menu

#10 multine line regexp bug

open
nobody
None
5
2005-06-30
2005-06-30
Anonymous
No

I may be wrong on how I understand the Regular
epxressions work in XACML, but I had trouble getting
expressions to match multine values. The fix that
seemed to work is:
modify : com/sun/xacml/cond/MatchFunction.java line:243
(the Pattern line)
so that it reads:
boolResult = Pattern.compile(arg0,
Pattern.DOTALL).matcher(arg1).matches();

Which seems to make the regular expressions match
multiple line values.

Patrik
pbutler@killertux.org

Discussion


Log in to post a comment.