Skip to content

Whitespace in CCCs in extended syntax causes trap when matching #275

Closed
@natecook1000

Description

@natecook1000

The following traps in Processor.cycle(), due to the unescaped space inside the custom character class:

try! Regex(compiling: #"(?xx)[ \t]+"#).matchWhole(" \t ")

Removing the space ([\t]) or escaping it ([\ \t]) resolves the crash.

Metadata

Metadata

Assignees

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