Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

env(perl) Much improved regex detection #2960

Merged
merged 5 commits into from Jan 14, 2021

Conversation

joshgoebel
Copy link
Member

@joshgoebel joshgoebel commented Jan 13, 2021

Resolves #2952.

Changes

Added many more common regex variants to perl.

This does not attempt to solve:

say ("fee" =~ s aeaoagr . "bar");

Regex with entirely arbitrary characters are a pain because they
could potentialy match so many languages, and slow down auto-detect
so we will try to avoid them for now.

Checklist

  • Added markup tests, or they don't apply here because...
  • Updated the changelog at CHANGES.md
  • Added myself to AUTHORS.txt, under Contributors

@joshgoebel joshgoebel changed the title Resolves #2952. env(perl) Much improved regex detection Jan 13, 2021
@joshgoebel joshgoebel added this to the 10.6 milestone Jan 13, 2021
@joshgoebel joshgoebel added language enhancement An enhancement or new feature labels Jan 13, 2021
src/languages/perl.js Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An enhancement or new feature language
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(Perl) No support for m style regex with arbitrary delimiters
2 participants