1 Text::Balanced version 2.0.0
3 Text::Balanced - Extract delimited text sequences from strings.
7 Text::Balanced::extract_delimited
9 `extract_delimited' extracts the initial substring of a string
10 which is delimited by a user-specified set of single-character
11 delimiters, whilst ignoring any backslash-escaped delimiter
14 Text::Balanced::extract_bracketed
16 `extract_bracketed' extracts a balanced-bracket-delimited substring
17 (using any one (or more) of the user-specified delimiter brackets:
18 '(..)', '{..}', '[..]', or '<..>').
20 Text::Balanced::extract_quotelike
22 `extract_quotelike' attempts to recognize and extract any one of the
23 various Perl quote and quotelike operators (see "perlop(3)"). Embedded
24 backslashed delimiters, nested bracket delimiters (for the
25 quotelike operators), and trailing modifiers are all correctly handled.
27 Text::Balanced::extract_codeblock
29 `extract_codeblock' attempts to recognize and extract a
30 balanced bracket-delimited substring which may also contain
31 unbalanced brackets inside Perl quotes or quotelike
32 operations. That is, `extract_codeblock' is like a combination
33 of `extract_bracketed' and `extract_quotelike'.
35 Text::Balanced::extract_tagged
37 `extract_tagged' attempts to recognize and extract a
38 substring between two arbitrary "tag" patterns (a start tag
44 To install this module, run the following commands:
52 Alternatively, to install with Module::Build, you can use the following commands:
68 Copyright (C) 2006, Damian Conway
70 This library is free software; you can redistribute it and/or modify
71 it under the same terms as Perl itself.