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

Method regex

basex-core/src/main/java/org/basex/core/Databases.java:142–144  ·  view source on GitHub ↗

Returns a regular expression for the specified name pattern. @param pattern pattern @return regular expression

(final String pattern)

Source from the content-addressed store, hash-verified

140 * @return regular expression
141 */
142 public static Pattern regex(final String pattern) {
143 return regex(pattern, "");
144 }
145
146 /**
147 * Extracts the name of a database from the name of a backup.

Callers 4

listMethod · 0.95
backupsMethod · 0.95
findMethod · 0.95
runMethod · 0.95

Calls 4

regexMethod · 0.95
compileMethod · 0.65
matchesMethod · 0.45
matcherMethod · 0.45

Tested by

no test coverage detected