Marcus Stollsteimer
3679023df8
[DOC] Fix typo and language
2019-12-24 16:57:30 +01:00
Nobuyoshi Nakada
7b2cd548aa
[DOC] mentioned `\R` [ci skip]
2019-11-03 23:18:01 +09:00
Nobuyoshi Nakada
f8b3d7d159
[DOC] \s in regexp is not same as in string [ci skip]
2019-11-03 22:53:17 +09:00
Jeremy Evans
cd0e208963
Document {n}? regexp pattern is optional and not non-greedy [ci skip]
...
While not consistent with {n,}?, {,m}?, and {n,m}?, it is arguably
more useful, as otherwise the ? would have no effect.
Fixes [Bug #15583 ]
2019-08-28 11:50:33 -07:00
Jeremy Evans
bd32833382
Document behavior when mixing named captures with parentheses [ci skip]
...
Fixes [Bug #13716 ]
2019-07-26 14:26:59 -07:00
aycabta
fdbc8eed42
Improve doc of Regexp about "ignore case" behavior [Misc #10836 ]
...
* doc/regexp.rdoc: RDoc for "ignore case" behavior
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-21 06:42:53 +00:00
sonots
71b932d675
* doc/regexp.rdoc: In regexp doc, two backslashes match one literally
...
In the "Metacharacters and Escapes" section of regexp.rdoc, it said that
to match a backslash literally, it must be backslash-escaped, but the
rendered HTML showed three backslashes (\\\). There should only be two
backslashes (\\).
patched by jlmuir (J. Lewis Muir) [fix GH-1677]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 23:38:17 +00:00
sonots
ba9e870709
* doc/regexp.rdoc: Fix regexp doc syntax highlighting
...
patched by jlmuir (J. Lewis Muir) [fix GH-1678]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-10-21 23:36:53 +00:00
nobu
bcdfef89ae
regexp.rdoc: terminators in comments [ci skip]
...
* doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
comments. [ruby-core:74838] [Bug #12256 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-04-07 10:04:05 +00:00
knu
066b825400
* doc/regexp.rdoc: [DOC] Elaborate on the \G anchor. [ci skip]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-08 13:34:52 +00:00
hsbt
d03c86391b
* doc/regexp.rdoc: fix regexp docs for whitespace character.
...
[ruby-dev:48765] [Bug #10624 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2015-01-01 12:41:54 +00:00
zzak
71c4c0b9e7
* doc/regexp.rdoc: [DOC] Clarify whitespace matching by @allolex
...
[Fixes GH-606] https://github.com/ruby/ruby/pull/606 [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-25 01:36:05 +00:00
nobu
37ce765ba3
fix typo [Fix GH-603]
...
* bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip]
* regexp.rdoc: fix typo of "organized". [ci skip]
* lib/session.rb: fix typo of "recognized". [ci skip]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28 15:20:28 +00:00
zzak
7b6deb9c4b
* doc/regexp.rdoc: [DOC] Fix typo in Special global variables section.
...
Reported by Alex Johnson on ruby-doc.org
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13 01:56:27 +00:00
zzak
d265baf31f
* doc/regexp.rdoc: [DOC] add note about Bug #4044 as suggested by
...
duerst-san in [ruby-core:43612] [Fixes GH-443] Patched by @rosenfeld
https://github.com/ruby/ruby/pull/443
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-11-13 00:05:38 +00:00
drbrain
4afabb5a88
* doc/regexp.rdoc: [DOC] Replace paragraphs in verbatim sections with
...
plain paragraphs to improve readability as ri and HTML.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-09-17 03:56:32 +00:00
zzak
368cecc151
* doc/regexp.rdoc: [DOC] Fix typo in example [Fixes GH-365]
...
Patch by Juanito Fatas https://github.com/ruby/ruby/pull/365
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-07-20 13:34:34 +00:00
zzak
df4abd9b3b
* doc/re.rdoc: Rename to doc/regexp.rdoc
...
* re.c: Update rdoc include for rename of file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@41225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2013-06-11 03:50:33 +00:00