I've researched this quite a bit and I just do not understand where I am going wrong, or if it even is an error, and regardless of what the actual problem is how to fix it.
Scenario constants:
Ubuntu 14.10 (GNU/Linux 3.16.0-31-generic i686)
Oracle
Java 1.8.0 SDK from webupd8 repository
java version "1.8.0_40"
Java(TM) SE Runtime Environment (build 1.8.0_40-b25)
Java HotSpot(TM) Server VM (build 25.40-b25, mixed mode)
It seems that in every instance where I try use:
or
or even the expanded syntax in a full example below:
even valid strings from Oracle's examples such as:
The java compiler will throw an error
I've read a few recommendations that I should download and replace the regular expressions library in java with a working regex but before I go through all thatI need to be certain that the issue is not with me.
I've given up on Java many times before because of silly little things like this. I do plan on being a little more proactive this time, I do not know why the strangest things just keep happening between Java and I though.