incubator-adffaces-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Vangasse" <st...@boardshop.co.uk>
Subject Regular expression validator
Date Wed, 08 Nov 2006 19:58:16 GMT
Is there a way to get the tr:validateRegExp validator to run in 
Pattern.DOTALL mode so that the . character matches any character, including 
a line break. I need to validate that a text area contains a specific string 
amongst surrounding text that can include new lines. I tried using the 
embedded flag expression (?s). in the pattern but I just get a javascript 
error on the page: "Syntax error in regular expression".

Has anyone else tried this

Thanks,

Steve Vangasse



Mime
View raw message