SEC-820: Expand regular expression used in hierarchical roles.
This commit is contained in:
parent
6493df13f8
commit
7f38c656ca
|
@ -126,7 +126,7 @@ public class RoleHierarchyImpl implements RoleHierarchy {
|
|||
* references a set of the reachable lower roles.
|
||||
*/
|
||||
private void buildRolesReachableInOneStepMap() {
|
||||
String parsingRegex = "(\\s*(\\w+)\\s*\\>\\s*(\\w+))";
|
||||
String parsingRegex = "(\\s*([^\\s>]+)\\s*\\>\\s*([^\\s>]+))";
|
||||
Pattern pattern = Pattern.compile(parsingRegex);
|
||||
|
||||
Matcher roleHierarchyMatcher = pattern.matcher(roleHierarchyStringRepresentation);
|
||||
|
|
Loading…
Reference in New Issue