* [ruby-dev:52093] [Ruby master Bug#20615] [Regexp] Different match result between using a character class and an unicode property
@ 2024-07-08 14:34 taichi730 (Taichi Ishitani) via ruby-dev
2024-07-08 14:43 ` [ruby-dev:52094] [Ruby master Bug#20615] [Regexp] Incorrect match result for Regexp including " taichi730 (Taichi Ishitani) via ruby-dev
2024-07-08 14:47 ` [ruby-dev:52095] " taichi730 (Taichi Ishitani) via ruby-dev
0 siblings, 2 replies; 3+ messages in thread
From: taichi730 (Taichi Ishitani) via ruby-dev @ 2024-07-08 14:34 UTC (permalink / raw)
To: ruby-dev; +Cc: taichi730 (Taichi Ishitani)
Issue #20615 has been reported by taichi730 (Taichi Ishitani).
----------------------------------------
Bug #20615: [Regexp] Different match result between using a character class and an unicode property
https://bugs.ruby-lang.org/issues/20615
* Author: taichi730 (Taichi Ishitani)
* Status: Open
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
--
https://bugs.ruby-lang.org/
_______________________________________________
ruby-dev mailing list -- ruby-dev@ml.ruby-lang.org
To unsubscribe send an email to ruby-dev-leave@ml.ruby-lang.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-dev:52094] [Ruby master Bug#20615] [Regexp] Incorrect match result for Regexp including unicode property
2024-07-08 14:34 [ruby-dev:52093] [Ruby master Bug#20615] [Regexp] Different match result between using a character class and an unicode property taichi730 (Taichi Ishitani) via ruby-dev
@ 2024-07-08 14:43 ` taichi730 (Taichi Ishitani) via ruby-dev
2024-07-08 14:47 ` [ruby-dev:52095] " taichi730 (Taichi Ishitani) via ruby-dev
1 sibling, 0 replies; 3+ messages in thread
From: taichi730 (Taichi Ishitani) via ruby-dev @ 2024-07-08 14:43 UTC (permalink / raw)
To: ruby-dev; +Cc: taichi730 (Taichi Ishitani)
Issue #20615 has been updated by taichi730 (Taichi Ishitani).
Subject changed from [Regexp] Different match result between using a character class and an unicode property to [Regexp] Incorrect match result for Regexp including unicode property
ruby -v set to 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
A regex pattern including an unicode property is not matched correctly.
``` ruby
/\A *\z/.match?('') # => true
/\Ap{White_Space}*\z/.match?('') # => false
```
I think both of these patterns should be matched but the later pattern including an unicode property is not.
----------------------------------------
Bug #20615: [Regexp] Incorrect match result for Regexp including unicode property
https://bugs.ruby-lang.org/issues/20615#change-109002
* Author: taichi730 (Taichi Ishitani)
* Status: Open
* ruby -v: 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
--
https://bugs.ruby-lang.org/
_______________________________________________
ruby-dev mailing list -- ruby-dev@ml.ruby-lang.org
To unsubscribe send an email to ruby-dev-leave@ml.ruby-lang.org
^ permalink raw reply [flat|nested] 3+ messages in thread
* [ruby-dev:52095] [Ruby master Bug#20615] [Regexp] Incorrect match result for Regexp including unicode property
2024-07-08 14:34 [ruby-dev:52093] [Ruby master Bug#20615] [Regexp] Different match result between using a character class and an unicode property taichi730 (Taichi Ishitani) via ruby-dev
2024-07-08 14:43 ` [ruby-dev:52094] [Ruby master Bug#20615] [Regexp] Incorrect match result for Regexp including " taichi730 (Taichi Ishitani) via ruby-dev
@ 2024-07-08 14:47 ` taichi730 (Taichi Ishitani) via ruby-dev
1 sibling, 0 replies; 3+ messages in thread
From: taichi730 (Taichi Ishitani) via ruby-dev @ 2024-07-08 14:47 UTC (permalink / raw)
To: ruby-dev; +Cc: taichi730 (Taichi Ishitani)
Issue #20615 has been updated by taichi730 (Taichi Ishitani).
This regexp pattern is invalid.
Sorry for my mistake.
----------------------------------------
Bug #20615: [Regexp] Incorrect match result for Regexp including unicode property
https://bugs.ruby-lang.org/issues/20615#change-109004
* Author: taichi730 (Taichi Ishitani)
* Status: Open
* ruby -v: 3.3.0 (2023-12-25 revision 5124f9ac75) [x86_64-linux]
* Backport: 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
A regex pattern including an unicode property is not matched correctly.
``` ruby
/\A *\z/.match?('') # => true
/\Ap{White_Space}*\z/.match?('') # => false
```
I think both of these patterns should be matched but the later pattern including an unicode property is not.
--
https://bugs.ruby-lang.org/
_______________________________________________
ruby-dev mailing list -- ruby-dev@ml.ruby-lang.org
To unsubscribe send an email to ruby-dev-leave@ml.ruby-lang.org
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-08 14:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-08 14:34 [ruby-dev:52093] [Ruby master Bug#20615] [Regexp] Different match result between using a character class and an unicode property taichi730 (Taichi Ishitani) via ruby-dev
2024-07-08 14:43 ` [ruby-dev:52094] [Ruby master Bug#20615] [Regexp] Incorrect match result for Regexp including " taichi730 (Taichi Ishitani) via ruby-dev
2024-07-08 14:47 ` [ruby-dev:52095] " taichi730 (Taichi Ishitani) via ruby-dev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).