rsFalse

Results 9 issues of rsFalse

**Description** Somehow `sqrt()` truncates number `14142135.0000000353553...` to integer value `14142135`. **Steps to Reproduce** ``` #!/usr/bin/perl -wl use strict; $_ = 199999982358225 ; print join " ", map sqrt, $_, $_...

https://perldoc.perl.org/perlre#(*ACCEPT)-(*ACCEPT:arg) **Description** From documentation: > ... causes the end of successful matching at the point at which the (*ACCEPT) pattern was encountered, regardless of whether there is actually more to...

Needs Triage
type-regex

**Description** The possible way to control regex constructs, e.g. switch them ON or OFF, is to use quantifier `{n}`, with n = 0 or 1; When controlling zero-length constructs, only...

type-regex

**Description** https://perldoc.perl.org/perlre#Special-Backtracking-Control-Verbs When found on backtracking `(*PRUNE)` should fail the whole match and start a new attempt from the next character. But when `(*THEN)` verb is found, it restores matching...

type-regex
type-regex-verb

**Description** (*SKIP) seems skipping new matching attempt if it starts with \b\w (word boundary) right after \W. Maybe because the last evaluated character was \w? **Steps to Reproduce** The only...

type-regex
type-regex-verb

**Description** Playing with atomic `(?>a)` groups and possessive `a{n}+` I found strange behaviour when regexes contain look-behind patterns `(? ``` #!/usr/bin/perl -l use strict; use warnings; my $target = 'abba';...

type-regex
type-regex-lookaround

**Description** Playing with look-behind and capturing groups, found interesting behavior of such type of regex: `(? ``` perlbrew exec perl -wle ' printf "[%3d][$&][$+[0]]\n", $-[0] while ( "b" x 40...

type-regex
type-regex-lookaround

**Description** `m/(?:\g{-1}|(ab?))+/` terminates. **Steps to Reproduce** `\g{1}` vs `\g{-1}`: ``` perl -wle ' print "\$&:[$&],\$1:[$1]" if "aab" =~ m/(?:\g{1}|(ab?))+/ ' perl-5.38.2 ========== $&:[aa],$1:[a] ``` ``` perl -wle ' print "\$&:[$&],\$1:[$1]"...

type-regex

**Where** https://perldoc.perl.org/perlre#Quantifiers : > Note that the possessive quantifier modifier can not be combined with the non-greedy modifier. This is because it would make no sense. Consider the follow equivalency...

Needs Triage
documentation