SlHelpers
Loading...
Searching...
No Matches
SlPCRE2::MatchIterator Struct Reference

Iterator over matches. More...

#include <PCRE2.h>

Public Member Functions

auto operator* () const noexcept
 Obtain the current match.
MatchIterator & operator++ () noexcept
 Move to the next match.
MatchIterator & operator-- () noexcept
 Move to the previous match.
MatchIterator operator++ (int) noexcept
 Move to the next match.
MatchIterator operator-- (int) noexcept
 Move to the previous match.
auto operator== (const MatchIterator &other) const noexcept
 Compare two MatchIterators.
auto operator!= (const MatchIterator &other) const noexcept
 Compare two MatchIterators.
auto index () const noexcept
 Get current index of the match.

Friends

struct Matches
class PCRE2

Detailed Description

Iterator over matches.

Member Function Documentation

◆ index()

auto SlPCRE2::MatchIterator::index ( ) const
inlinenoexcept

Get current index of the match.

Returns
Index of the match.

The documentation for this struct was generated from the following file:
  • /home/abuild/rpmbuild/BUILD/slhelpers-20260428.f233ce9-build/slhelpers-20260428.f233ce9/include/pcre2/PCRE2.h