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

regex '\w' is '' #40

Open
Macr0phag3 opened this issue Jun 3, 2019 · 5 comments
Open

regex '\w' is '' #40

Macr0phag3 opened this issue Jun 3, 2019 · 5 comments
Labels

Comments

@Macr0phag3
Copy link

In [8]: import exrex

In [9]: exrex.getone('\w+')
Out[9]: ''
@waldyrious
Copy link
Contributor

I'm facing the same issue.

@asciimoo asciimoo added the bug label Oct 17, 2019
@gaborod16
Copy link

Same here.
There are other variations that also don't work:

"\D", "\W" and "\S".

However, I do agree that having "\w" working is much more important.

@CrafterKolyan
Copy link

CrafterKolyan commented Nov 24, 2020

\w is working if you install exrex from master
(\W, \D and \S are still not working)

@waldyrious
Copy link
Contributor

Thanks for the heads-up, @CrafterKolyan! For reference, the PR that implemented this was #42. It was merged on 7 October 2019, and there hasn't been a release since then.

@olfMombach
Copy link

olfMombach commented Jan 11, 2021

Confirming that this feature (and most probably many other new features) are still not present on the (PyPI) release

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

Successfully merging a pull request may close this issue.

6 participants