Returns a regular expression for the specified name pattern. @param pattern pattern @return regular expression
(final String pattern)
| 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. |