Xbasic
Extension::PReg Class
IN THIS PAGE
Description
Regular expression methods.
Methods
- filter Method
Returns the subjects that match.
- grep Method
Returns array of the elements of the input array matching a pattern.
- match Method
Seaches subject for a match to the regular expression in the pattern.
- match_all Method
Seaches subject for a match to the regular expression in the pattern.
- match_first Method
Seaches subject for a match to the regular expression in the pattern.
- quote Method
Quote a string with delimiters to include in a regular expression.
- replace Method
Searches subject for matches to pattern and replaces them with replacement.
- split Method
Split a string by a regular expression, flags 'n' - no blank, 'd' - collect delimiters .
See Also