diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-24 17:13:42 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-10-24 17:13:42 +0000 |
| commit | 18e2d3b915c283c4ed507cfb7f7b8d453a9894bb (patch) | |
| tree | 3eb45aefb4bffbf287f6e4568c5adf9a29c69e9b /lib | |
| parent | ed9c58e363d3b1408bb958e4ca711f039f92e12f (diff) | |
| download | ruby-18e2d3b915c283c4ed507cfb7f7b8d453a9894bb.tar.gz ruby-18e2d3b915c283c4ed507cfb7f7b8d453a9894bb.tar.xz ruby-18e2d3b915c283c4ed507cfb7f7b8d453a9894bb.zip | |
* lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE):
reduce redundant backtrack. [ruby-talk:161771]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/rdoc/markup/simple_markup.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/rdoc/markup/simple_markup.rb b/lib/rdoc/markup/simple_markup.rb index 21064cb00..8193ca02d 100644 --- a/lib/rdoc/markup/simple_markup.rb +++ b/lib/rdoc/markup/simple_markup.rb @@ -194,8 +194,7 @@ module SM #:nodoc: LABEL_LIST_RE = /^( ( \[.*?\] (?# labeled ) |\S.*:: (?# note ) - )(?=\s|$) - \s* + )(?:\s+|$) )/x |
