Golden Rule of Regex Matching
"If there is more than one regular expression that matches the longest portion of the input (i.e., they all match the same input), the generated scanner chooses the expression that appears first in the specification."
{Is} { System.out.println("Got an 'is'"); }
{Island} { System.out.println("Got an 'island'"); }
{Other} { System.out.println("Got other"); }
{Is} { System.out.println("Got an 'is'"); }
{Other} { System.out.println("Got other"); }
{Island} { System.out.println("Got an 'island'"); }