Skip to content

PCRE lookahead #4438

@David263

Description

@David263

I know there is a PCRE syntax for looking ahead but not including a trailing match pattern, but it is impossible to find in the Manual. Searching for "lookahead" returns nothing useful. The PCRE syntax page (https://www.php.net/manual/en/reference.pcre.pattern.syntax.php) doesn't describe the syntax. It lists links for:

Introduction
Delimiters
Meta-characters
Escape sequences
Unicode character properties
Anchors
Dot
Character classes
Alternation
Internal option setting
Subpatterns
Repetition
Back references
Assertions
Once-only subpatterns
Conditional subpatterns
Comments
Recursive patterns
Performance

So you have to know about the particular syntax in order to choose the correct link.

Can this please be fixed? I want to use lookahead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions