![]() |
PIP 5.6.1
Platform-Independent Primitives
|
Match result and iterator state. More...
#include <piregularexpression.h>
Public Member Functions | |
| operator bool () const | |
Returns true when a match is available. | |
| bool | hasMatch () const |
Returns true when a match is available. | |
| bool | next () |
| Advances to the next match in the same subject. | |
| PIStringList | matchedStrings () const |
| Returns all captured strings of the current match. | |
| PIString | matchedString (int index=0) const |
| Returns the captured substring at index. | |
| int | matchedStart (int index=0) const |
| Returns the start position of the capture at index. | |
| int | matchedSize (int index=0) const |
| Returns the size of the capture at index. | |
| PIString | matchedString (const PIString &gname) const |
| Returns the captured substring of named group gname. | |
| int | matchedStart (const PIString &gname) const |
| Returns the start position of named group gname. | |
| int | matchedSize (const PIString &gname) const |
| Returns the size of the named group gname. | |
| Matcher (Matcher &&)=default | |
| Move constructor. | |
Match result and iterator state.