I've been trying to match some strings using java FREJ Regex that contains non alphanumeric characters, but the match each time returns false. Can anyone please suggest what is wrong with the following code (scala)?
import net.java.frej.Regex
val pattern = new Regex("0001-0001")
val result = pattern.`match`("0001-0001")