0

What type of pattern can be passed? Examples: regex, wildcard, etc. I have not been able to find a java doc or other documentation detailing this.

Nelson
  • 2,972
  • 3
  • 23
  • 34

1 Answers1

1

According to the javadoc in the source code:

deleteByPattern supports these glob style patterns:

 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
Daniel Grim
  • 2,261
  • 19
  • 22