I have trouble with compiling a code that converts an infix expression to a postfix expression. I suspect the following two lines of code to be giving me the issue:
public static final Pattern UNSIGNED_DOUBLE = Pattern.compile("\\b[\\+-]?[0-9]*[\\.]?[0-9]+([eE][\\+-]?[0-9]+)?\\b");
public static final Pattern CHARACTER = Pattern.compile("\\S.*?");
Can someone please help me correct the two lines of code to avoid the unclosed group near index 1?
Thanks