SEC-820: Expand regular expression used in hierarchical roles.

This commit is contained in:
Luke Taylor 2008-05-14 22:59:33 +00:00
parent 6493df13f8
commit 7f38c656ca
1 changed files with 1 additions and 1 deletions

View File

@ -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);