I just want to apologize for my English. I use Google Translate for this message.
I add support of extended regexes into checking of validate format.
I like to write complex regular expressions in a multiline format, but the brakeman displays false warnings on these regular expressions.
In tests I've added an example of such a regular expression.
This is not the same as (z|Z). User either (z|Z) or [zZ]:
2.3.0 :001 > "|".match /[z|Z]/
=> #<MatchData "|">
2.3.0 :002 > "|".match(/(z|Z)/)
Please add the N on the end of this constant and the other one.
What is this j doing here and how are tests passing with it...
This should be in test/tests/rails4.rb not here
Allow extended regexp into validate format
@presidentbeef, i fix all tupos and notes
Thank you for your contribution and making those changes!