aboutsummaryrefslogtreecommitdiffstats
path: root/activeresource/README.rdoc
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-04-19 18:11:42 +0200
committerXavier Noria <fxn@hashref.com>2011-04-19 18:16:38 +0200
commit9b423ac0b73483c4a812d7376f818e831f909120 (patch)
tree42d5788332240be46478773493eaa25017be0970 /activeresource/README.rdoc
parenta3a5c7eba39c64413abd0fb4766282c9f071d248 (diff)
downloadrails-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 'activeresource/README.rdoc')
0 files changed, 0 insertions, 0 deletions