Commit graph

9 commits

Author SHA1 Message Date
Carl Zulauf
22fe80f275 Fix Typo in Regular Expressions docs (_regexp.rdoc)
Small fix for a typo in the regular expression docs. The line of code above this change does not produce the output shown in the docs. With this change the docs will show the correct output for this example of using regex quantifiers.
2025-08-09 11:02:37 +09:00
Yusuke Endoh
b2fdd26417 Lookbehind regexp must be fixed-length
Fixes [Bug #21507]
2025-07-11 15:19:32 +09:00
Nobuyoshi Nakada
e65986c9bc
[DOC] Add reference from global variables to equivalent MatchData
c.f. #21040
2025-01-16 14:21:37 +09:00
Nobuyoshi Nakada
b4ec22fe6c
[DOC] Exclude 'Method' from RDoc's autolinking 2025-01-02 12:23:49 +09:00
Alan Wu
468b7af67e [DOC] RegExp: The Graph property includes some control characters
The behavior of this is a carry-over from Oniguruma:
  5eaee9f5f8/doc/RE (L246)

The previous phrasing was inaccurate since it's fair to construe e.g.
Zero Width Joiner as a control character.

Reported-by: https://github.com/ruby/ruby/pull/12294
2024-12-24 15:40:57 -05:00
ydah
cd8ad9634d s/Punctation/Punctuation/ 2024-12-22 18:09:02 +09:00
BurdetteLamar
07a0aa9be6 [DOC] Fix link 2024-09-10 14:07:04 -04:00
Jeremy Evans
060f14bf62 Update documentation for [[:word:]] and \p{Word} in regexps
Onigmo uses Decimal_Number and not Number for these.

Fixes [Bug #19417]
2023-11-30 10:40:40 -08:00
Nobuyoshi Nakada
caa9881fde
[DOC] Fix doc/regexp.rdoc links
- Rename regexp.rdoc to exclude from "Pages".  This file is for to be
  included in the "class Regexp" document, but it also appeared as a
  separate page duplicately.
- Fix links on case-sensitive filesystems.
- Fix to use rdoc-ref instead of converted HTML page names.
2023-11-14 15:56:57 +09:00
Renamed from doc/regexp.rdoc (Browse further)