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
This commit is contained in:
parent
de3f0a42d8
commit
bcdfef89ae
@ -1,3 +1,8 @@
|
||||
Thu Apr 7 19:04:03 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* doc/regexp.rdoc (comments): [DOC] terminators cannot appear in
|
||||
comments. [ruby-core:74838] [Bug #12256]
|
||||
|
||||
Thu Apr 7 11:24:14 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/tk/tkutil/tkutil.c (cbsubst_initialize): fix out-of-bound
|
||||
|
@ -580,6 +580,9 @@ Comments can be included in a non-<tt>x</tt> pattern with the
|
||||
<tt>(?#</tt><i>comment</i><tt>)</tt> construct, where <i>comment</i> is
|
||||
arbitrary text ignored by the regexp engine.
|
||||
|
||||
Comments in regexp literals cannot include unescaped terminator
|
||||
characters.
|
||||
|
||||
== Encoding
|
||||
|
||||
Regular expressions are assumed to use the source encoding. This can be
|
||||
|
Loading…
x
Reference in New Issue
Block a user