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

recent year regex is... out of date. #318

Open
matthewhively opened this issue Mar 17, 2022 · 2 comments
Open

recent year regex is... out of date. #318

matthewhively opened this issue Mar 17, 2022 · 2 comments

Comments

@matthewhively
Copy link

Currently it is set to

REGEXEN = {
  recent_year: /19\d\d|200\d|201\d/g
};

it looks like it needs to be updated to include 202X

REGEXEN = {
  recent_year: /19\d\d|20[012]\d/g
};

Although that will only last a bit over 7 more years that should be enough time to figure out an even better regex update :)

@ritikBhandari
Copy link

hi,
Can i be assigned to resolved this issue?

@ritikBhandari
Copy link

I have opened a pull request regarding the same.

hi, Can i be assigned to resolved this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants