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

Need better regex for psci/--compute-module-name! #4

Closed
sellout opened this issue Jan 13, 2015 · 1 comment · Fixed by #5
Closed

Need better regex for psci/--compute-module-name! #4

sellout opened this issue Jan 13, 2015 · 1 comment · Fixed by #5

Comments

@sellout
Copy link

sellout commented Jan 13, 2015

The current regex requires a space after the module name, but I have Emacs clean up all trailing whitespace, so it can never find the module. I think "^module\\s-+\\\([a-zA-Z0-9\\\.]+\\\)\\b" (using word boundary rather than a space) will do the right thing. I also replace the space after “module” with \\s-+ to allow for arbitrary whitespace.

@ardumont
Copy link
Collaborator

Hello,

Thanks for the heads up!

Cheers,

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 a pull request may close this issue.

2 participants