isRegex = false;
isIncludeCollapsed = false;
isColumnFirst = true;
searchText = "[";
expected = new PositionCoordinate(null, 2, 2);
doTest();
searchText = "[2";
expected = new PositionCoordinate(null, 2, 2);
doTest();
searchText = "[2,";
expected = new PositionCoordinate(null, 2, 2);
doTest();
searchText = "[2,4";
expected = new PositionCoordinate(null, 2, 4);
doTest();
isForward = false;
searchText = "[";
expected = new PositionCoordinate(null, 2, 4);
doTest();
searchText = "[2";
expected = new PositionCoordinate(null, 2, 4);
doTest();
searchText = "[2,";
expected = new PositionCoordinate(null, 2, 4);
doTest();
searchText = "[2,2";
expected = new PositionCoordinate(null, 2, 2);
doTest();
}