Extract delimited text sequences from strings
The various 'extract_...' subroutines may be used to extract a delimited
substring, possibly after skipping a specified prefix string. By
default, that prefix is optional whitespace ('/\s*/'), but you can
change it to whatever you wish (see below).The substring to be extracted
must appear at the current 'pos' location of the string's variable (or
at index zero, if no 'pos' position is defined). In other words, the
'extract_...' subroutines _don't_ extract the first occurrence of a
substring anywhere in a string (like an unanchored regex would). Rather,
they extract an occurrence of the substring appearing immediately at the
current matching position in the string (like a '\G'-anchored regex
would).
- Sources inherited from project devel:languages:perl
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:Tomcat42/perl-Text-Balanced && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Text-Balanced-2.06.tar.gz | 0000043693 42.7 KB | |
cpanspec.yml | 0000000890 890 Bytes | |
perl-Text-Balanced.changes | 0000002822 2.76 KB | |
perl-Text-Balanced.spec | 0000002289 2.24 KB |
Latest Revision
- updated to 2.06 see /usr/share/doc/packages/perl-Text-Balanced/Changes 2.06 2022-06-05 - Released with no further code changes. 2.05_01 2022-05-29 - Fix direct use of _match_codeblock by e.g. Switch. [mohawk2, CPAN RT#142923] - Fix resetting of whether "/" or "?" allowed to open regex. [mohawk2, CPAN RT#142922] - Fix false negative on /.../ regex after "and". [mohawk2, GH#7]
Comments 0