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

NO MORE REGULAR EXPRESSIONS. #208

Merged
merged 1 commit into from
Feb 5, 2016
Merged

NO MORE REGULAR EXPRESSIONS. #208

merged 1 commit into from
Feb 5, 2016

Conversation

philwills
Copy link
Contributor

I've gone for readability over brevity and even with the imports it's barely bigger than the regex.

@philwills philwills force-pushed the pw-mini-parser branch 3 times, most recently from 036877d to 57f3a16 Compare December 15, 2014 12:21
@sihil
Copy link
Contributor

sihil commented Feb 5, 2016

👍

And another 👍 for the CAPITAL LETTERS.

philwills added a commit that referenced this pull request Feb 5, 2016
@philwills philwills merged commit fd6ec3e into master Feb 5, 2016
@philwills philwills deleted the pw-mini-parser branch February 5, 2016 12:24
@adamnfish
Copy link
Contributor

If it's only the filename / extension you're after why not just use a library designed to work that out (like FilenameUtils)?

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

Successfully merging this pull request may close these issues.

3 participants