Vocabulary pcre Inputs subject a string obj a string, compiled regular expression or a regexp literal
Outputs Word description Finds all matches of the given regexp in the string. Matches is sequence of associative array where the key is the name of the capturing group, or f to denote the full match.
Examples USE: pcre
"foobar" "(?<ch1>\\w)(?<ch2>\\w)" findall .
{
{ { f "fo" } { "ch1" "f" } { "ch2" "o" } }
{ { f "ob" } { "ch1" "o" } { "ch2" "b" } }
{ { f "ar" } { "ch1" "a" } { "ch2" "r" } }
}
Definition Methods
This documentation was generated offline from a
load-all
image. If you want, you can also
browse the documentation from within the UI developer tools . See
the Factor website
for more information.
Factor 0.101 x86.64 (2285, heads/master-efda6dad2f, Nov 20 2024 16:02:37)