diff options
| author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-03-12 18:14:58 +0900 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2025-03-13 14:27:06 +0900 |
| commit | 30379fa1e25c2dbc887e5ee80ddd601bfdd9f20b (patch) | |
| tree | 6a9837dfff95fe4312c3c2c58dec452991de71a5 | |
| parent | 6dd8bd0d9090d0a347b90479d441884fcaa1629a (diff) | |
Merge strscan-3.0.6
| -rw-r--r-- | ext/strscan/strscan.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ext/strscan/strscan.c b/ext/strscan/strscan.c index 9b646ab678..b83cad1842 100644 --- a/ext/strscan/strscan.c +++ b/ext/strscan/strscan.c @@ -22,7 +22,7 @@ extern size_t onig_region_memsize(const struct re_registers *regs); #include <stdbool.h> -#define STRSCAN_VERSION "3.0.5" +#define STRSCAN_VERSION "3.0.6" /* ======================================================================= Data Type Definitions @@ -1038,8 +1038,9 @@ strscan_empty_p(VALUE self) * This method is obsolete; use #eos? instead. * * s = StringScanner.new('test string') - * s.eos? # These two - * s.rest? # are opposites. + * # These two are opposites + * s.eos? # => false + * s.rest? # => true */ static VALUE strscan_rest_p(VALUE self) |
