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 regex for library config types #723

Merged
merged 1 commit into from Mar 30, 2015
Merged

Fixes regex for library config types #723

merged 1 commit into from Mar 30, 2015

Conversation

stuglaser
Copy link
Contributor

The old regex, ^debug|optimized|general$, matches "debug_foo", "foo_optimized_bar", and "foo_general" because ^ and $ have precedence over |. This breaks certain library names, for example, lib_kalman_general.

The new regex fixes the order of operations.

@dirk-thomas
Copy link
Member

Great catch. Thank you for the patch!

dirk-thomas added a commit that referenced this pull request Mar 30, 2015
Fixes regex for library config types
@dirk-thomas dirk-thomas merged commit c268f7e into ros:indigo-devel Mar 30, 2015
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.

None yet

2 participants