From e8871610c9436ba8c54f64a65362511b4c4efb68 Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 24 Oct 2005 17:13:42 +0000 Subject: * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE): reduce redundant backtrack. [ruby-talk:161771] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@9460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rdoc/markup/simple_markup.rb | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index a10a5022c2..0df6156742 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 25 02:12:08 2005 Nobuyoshi Nakada + + * lib/rdoc/markup/simple_markup.rb (SM::SimpleMarkup::LABEL_LIST_RE): + reduce redundant backtrack. [ruby-talk:161771] + Tue Oct 25 00:27:35 2005 Masatoshi SEKI * lib/rinda/*: RDoc documentation from Eric Hodel diff --git a/lib/rdoc/markup/simple_markup.rb b/lib/rdoc/markup/simple_markup.rb index 21064cb009..8193ca02d4 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 -- cgit v1.2.3