Skip to content

Commit

Permalink
fix cuboid matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 10, 2018
1 parent 473667b commit b4be27e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -149,7 +149,7 @@ public static dCuboid valueOf(String string, TagContext context) {

// The regex below: optional-"|" + "<#.#>," x3 + <text> + "|" + "<#.#>," x3 + <text> -- repeating
final static Pattern cuboidLocations =
Pattern.compile("(\\|?([\\d\\.]+,){3}[\\w\\s]+\\|([\\d\\.]+,){3}[\\w\\s]+)+",
Pattern.compile("(\\|?([-\\d\\.]+,){3}[\\w\\s]+\\|([-\\d\\.]+,){3}[\\w\\s]+)+",
Pattern.CASE_INSENSITIVE);


Expand Down

0 comments on commit b4be27e

Please sign in to comment.