mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-02 22:55:26 +02:00
[fix] Fixed makeRegex usage of meta-character
This commit is contained in:
parent
657a1c0080
commit
6870a4a8e0
1 changed files with 1 additions and 1 deletions
|
@ -173,7 +173,7 @@ public class SubSystemConfigurationProxy implements ISubSystemConfigurationProxy
|
|||
if (translated.indexOf('.') != -1) translated = translated.replaceAll("\\.", "\\."); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (translated.indexOf(' ') != -1) translated = translated.replaceAll(" ", "\\ "); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (translated.indexOf('*') != -1) translated = translated.replaceAll("\\*", ".*"); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (translated.indexOf('?') != -1) translated = translated.replaceAll("?", "."); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
if (translated.indexOf('?') != -1) translated = translated.replaceAll("\\?", "."); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
return translated;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue