- Inheritance
- < Object
Constants
| Name | Description | |
|---|---|---|
| REGEX | = / # possible space, followed by... (?:\s* # percent sign, followed by... % # another percent sign, or... (?:%| # optional assignment suppression flag \*? # optional maximum field width \d* # named character class, ... (?:\[\[:\w+:\]\]| # traditional character class, or... \[[^\]]*\]| # specifier letter. [#{SPECIFIERS}])))| # or miscellaneous characters [^%\s]+/ix | |
| SPECIFIERS | = 'diuXxofeEgsc' |
Attributes
| Name | Visibility | R/W | Description |
|---|---|---|---|
| last_match_tried | public | R | |
| last_spec_tried | public | R | |
| matched_count | public | R | |
| space | public | R | |
| string_left | public | R |
Methods
Class
| Visibility | Signature |
|---|---|
| public | new (str) |
Instance
| Visibility | Signature |
|---|---|
| public | last_spec () |
| public | match (str) |
| public | prune (n=matched_count) |
| public | spec_count () |
| public | to_s () |