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

Fixes #5245: Simpler regexp to parse bundle name #85

Merged
merged 1 commit into from
Jul 8, 2014

Conversation

VinceMacBuche
Copy link
Member

No description provided.

fanf added a commit that referenced this pull request Jul 8, 2014
Fixes #5245: Simpler regexp to parse bundle name
@fanf fanf merged commit 2ba5c52 into Normation:master Jul 8, 2014
@jooooooon
Copy link
Member

I'm not sure I agree with this change. While it is technically identical, it's intention is quite different. "\w" in regexps means "a word", however, the regexp I initially used meant "a valid CFEngine bundle or class name". This would of course have been more obvious if I'd declared a constant (something like "CFE_BUNDLE_REGEX". I feel that we're losing the original intent here.

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