Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Improper detection of regex #296

@onetrev

Description

@onetrev

Not entirely sure how to describe or title this, but the issue is best seen in this screenshot:

screenshot

LANGUAGE: PHP

Essentially, the text in the first if statement is properly not detected as a regex statement, but the second one is improperly detected as regex (and it's not). Because of this, depending on your code theme, the colouring will be totally wrong and can make it look like you have a coding issue so it's quite confusing.

More details and discussion of this in this issue posted in Dracula Theme.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions