RKeys#deleteByPattern(String pattern) 可以采用哪些模式?
What kinds of patterns can RKeys#deleteByPattern(String pattern) take?
可以传递什么类型的图案?示例:正则表达式、通配符等。
我无法找到 java 文档或其他详细说明此内容的文档。
根据 javadoc in the source code:
deleteByPattern 支持这些 glob 样式模式:
h?llo subscribes to hello, hallo and hxllo
h*llo subscribes to hllo and heeeello
h[ae]llo subscribes to hello and hallo, but not hillo
可以传递什么类型的图案?示例:正则表达式、通配符等。 我无法找到 java 文档或其他详细说明此内容的文档。
根据 javadoc in the source code:
deleteByPattern 支持这些 glob 样式模式:
h?llo subscribes to hello, hallo and hxllo
h*llo subscribes to hllo and heeeello
h[ae]llo subscribes to hello and hallo, but not hillo