mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* re.c (unescape_nonascii): \P{FOO} is also Unicode regexp. [ruby-core:30540]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ab70e53ac3
commit
4c897fdde1
2 changed files with 6 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Jun 1 23:12:06 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* re.c (unescape_nonascii): \P{FOO} is also Unicode property in
|
||||
regexp. [ruby-core:30540]
|
||||
|
||||
Tue Jun 1 21:29:39 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* lib/net/http.rb: adding support to rfc5789 patch verb.
|
||||
|
|
1
re.c
1
re.c
|
@ -2197,6 +2197,7 @@ unescape_nonascii(const char *p, const char *end, rb_encoding *enc,
|
|||
}
|
||||
|
||||
case 'p': /* \p{Hiragana} */
|
||||
case 'P':
|
||||
if (!*encp) {
|
||||
*has_property = 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue