I recently ran into a problem with Castle's [ValidateRegEx(...)] validation attribute and Monorail, where if you used a regular expression that contained '\' characters to escape symbols, they would be incorrectly rendered in the corresponding client-side Javascript expression.

I posted about the issue in the Castle forums, alongside one possible way to fix it, in case someone runs into the same problem.

Technorati tags:


Tomas Restrepo

Software developer located in Colombia.