I try myfaces-examples (last cvs) – myfaces is JSF implementation with added components like datalist,tree etc and validator like regexp validator
in examples application is there validate.jsp with this :
<h:inputText id=”regExprValue” value=”#{validateForm.regExpr}”
required=”true”>
<x:validateRegExpr pattern=”\d{5}” />
</h:inputText>
Myeclipse return erro on line 3 (\d{5}) :
Invalid escape sequence (valid ones are \b \t \n \f \r \” \’ \\ )
This is correct syntax
regards
Haris Peco