Fedora Packages


Parse text into an array of tokens or array of arrays

The nested_quotewords() and quotewords() functions accept a delimiter (which can be a regular expression) and a list of lines and then breaks those lines up into a list of words ignoring delimiters that appear inside quotes. quotewords() returns all of the tokens in a single long list, while nested_quotewords() returns a list of token lists corresponding to the elements of @lines. parse_line() does tokenizing on a single string. The quotewords() functions simply call parse_line(), so if you're only splitting one line you can call parse_line() directly and save a function call.

Releases Overview

Release Stable Testing
Fedora Rawhide 3.31-500.fc39 -
Fedora 39 3.31-500.fc39 -
Fedora 38 3.31-490.fc38 -
Fedora 37 3.31-489.fc37 -
File a new bug report »
Package Info
Related Packages

You can contact the maintainers of this package via email at perl-Text-ParseWords dash maintainers at fedoraproject dot org.

Sources on Pagure