#Regex Command Blocker "\\/"

1 messages · Page 1 of 1 (latest)

wraith prawn
iron socket
#
patterns:
  - "\\\/"

that should match a / character

#

I believe you need a \ to escape it for java, then another \ to escape it for regex

#

because the regex part is \/ for matching a / char

#

Also I might be a bit off, don't think you need to escape / in java
so maybe this

patterns:
  - "\\/"
wraith prawn
#

ok thank you for your speed! it works well, is it possible to remove all the commands of a plugin without writing them? (exemple: worldedit) 🙂

#

Regex Command Blocker "\/"

iron socket
#

that will match anything after the / except for new line

#

surprised you can't just use the \\\/ pattern though, but I guess the whole thing has to match