I'm really happy that I can use regular expressions to evaluate questions. This is crucial for me (testing language translation). But I'm finding that a lot of standard regex syntax causes errors when I try to answer the question. So I have two questions:
(a) is there a list of accepted regex syntax for the module? This may be on the documentation page, but I'm getting a server error when I visit that page.
(b) Can you implement better regex support? I get an error when I use any parentheses or a lookahead expression.

Comments

scottiw2000’s picture

Status: Active » Closed (fixed)

I've since figured this out. Everything seems to work fine if I use perl regex syntax. The key for me was realizing that the regular expression needed to be set between forward slashes (e.g., /xxx/ ). This was foreign to me, coming from javascript and html. If anyone else runs into the same problems, you can google the php function preg_match(), which is the function used in this module to evaluate the regular expressions.