Closed bitcababy closed 13 years ago
Actually, there are a lot of regexes that are wrong.
Fixed that one, although wrong is a bit strong, long winded might be more accurate.
Anyhow thankyou for that fix. If you'd like to submit more please fork and ensure your changes pass the unit tests and issue a pull request.
many thanks
Andrew
This expression is wrong: /([\s\t](?:given|when|then|and|but)\s+)(.)/i)
The [\s\t]* should just be \s*. \s includes tabs.