Skip to content

PPI doesn't detect s with alphanumeric delimiter #442

Description

@happy-barney

Example:

$foo =~ s (a) bob

Happen only when first Section uses paired delimiters and second section changes to letters.
Non-alphanumeric or digits characters works.

Proposal:

  • introduce new Section token, quotelike keywords with two sections will put "expect section" twice on stack, so Parser can act accordingly.
  • Section will have methods accessing delimiter, content, and "padding" (whitespaces before Section)

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