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.102 x86.64 (2297, heads/master-034f5e82b2, Dec 11 2025 08:38:40)