diff options
| author | Xavier Noria <fxn@hashref.com> | 2011-04-19 18:11:42 +0200 |
|---|---|---|
| committer | Xavier Noria <fxn@hashref.com> | 2011-04-19 18:16:38 +0200 |
| commit | 9b423ac0b73483c4a812d7376f818e831f909120 (patch) | |
| tree | 42d5788332240be46478773493eaa25017be0970 /actionpack/lib/action_dispatch/testing | |
| parent | a3a5c7eba39c64413abd0fb4766282c9f071d248 (diff) | |
| download | rails-9b423ac0b73483c4a812d7376f818e831f909120.tar.gz rails-9b423ac0b73483c4a812d7376f818e831f909120.tar.bz2 rails-9b423ac0b73483c4a812d7376f818e831f909120.zip | |
let this regexp be stricter
The purpose of this regexp is to detect strings that
are valid identifiers to be used as method names.
The anchor $ allows a trailing newline, and both ^
and $ may be bypassed because Ruby regexps are
multiline always. The anchors \A and \z are the
proper ones to ensure string boundaries.
Diffstat (limited to 'actionpack/lib/action_dispatch/testing')
0 files changed, 0 insertions, 0 deletions
