Remove unnecessary escapes in regular expressions
See gh-24470
This commit is contained in:
committed by
Rossen Stoyanchev
parent
cf9a052e3a
commit
273812f9c5
@@ -43,7 +43,7 @@ class ClassPathResourceTests {
|
||||
*/
|
||||
private static final String FQ_RESOURCE_PATH_WITH_LEADING_SLASH = '/' + FQ_RESOURCE_PATH;
|
||||
|
||||
private static final Pattern DESCRIPTION_PATTERN = Pattern.compile("^class path resource \\[(.+?)\\]$");
|
||||
private static final Pattern DESCRIPTION_PATTERN = Pattern.compile("^class path resource \\[(.+?)]$");
|
||||
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user