diff options
| author | Joshua Peek <josh@joshpeek.com> | 2008-07-19 00:46:02 -0500 | 
|---|---|---|
| committer | Joshua Peek <josh@joshpeek.com> | 2008-07-19 00:46:02 -0500 | 
| commit | cab168ac9bbe24e5842fb7677d3fac820ddbc18c (patch) | |
| tree | b77b9dcede0d25ad19c33e5a0d1a3b5360e2170b /actionpack/lib/action_view/helpers | |
| parent | 108ed4a5660d4ebdc52563250463c762e3f27988 (diff) | |
| download | rails-cab168ac9bbe24e5842fb7677d3fac820ddbc18c.tar.gz rails-cab168ac9bbe24e5842fb7677d3fac820ddbc18c.tar.bz2 rails-cab168ac9bbe24e5842fb7677d3fac820ddbc18c.zip  | |
Ruby 1.9: Fixed regexp warning by replacing nested repeat operator + and ? with '*'
Diffstat (limited to 'actionpack/lib/action_view/helpers')
| -rw-r--r-- | actionpack/lib/action_view/helpers/text_helper.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_view/helpers/text_helper.rb b/actionpack/lib/action_view/helpers/text_helper.rb index 3e3452b615..9342b38680 100644 --- a/actionpack/lib/action_view/helpers/text_helper.rb +++ b/actionpack/lib/action_view/helpers/text_helper.rb @@ -468,7 +468,7 @@ module ActionView                            [-\w]+                   # subdomain or domain                            (?:\.[-\w]+)*            # remaining subdomains or domain                            (?::\d+)?                # port -                          (?:/(?:(?:[~\w\+@%=\(\)-]|(?:[,.;:'][^\s$]))+)?)* # path +                          (?:/(?:(?:[~\w\+@%=\(\)-]|(?:[,.;:'][^\s$])))*)* # path                            (?:\?[\w\+@%&=.;-]+)?     # query string                            (?:\#[\w\-]*)?           # trailing anchor                          )  | 
