MCPcopy Create free account
hub / github.com/BaseXdb/basex / regex

Method regex

basex-core/src/main/java/org/basex/io/IOFile.java:473–475  ·  view source on GitHub ↗

Converts a name filter (glob) to a regular expression. @param glob filter @return regular expression

(final String glob)

Source from the content-addressed store, hash-verified

471 * @return regular expression
472 */
473 public static String regex(final String glob) {
474 return regex(glob, true);
475 }
476
477 /**
478 * Converts a file filter (glob) to a regular expression. A filter may

Callers 6

testMethod · 0.95
regexMethod · 0.95
evalMethod · 0.95
keyReleasedMethod · 0.95
filterMethod · 0.95
findMethod · 0.95

Calls 8

splitMethod · 0.95
endsWithMethod · 0.95
charAtMethod · 0.80
appendMethod · 0.65
toStringMethod · 0.65
trimMethod · 0.45
isEmptyMethod · 0.45
lengthMethod · 0.45

Tested by 1

testMethod · 0.76