+ pos = "first";
+ }
+ //System.err.println("between checks: text='" + text + "'");
+ int len = text.length();
+ if (len > 0 && text.substring(len-1, len).equals("^")) {
+ //System.err.println("last in field");
+ text = text.substring(0, len-1);
+ pos = pos.equals("first") ? "firstAndLast" : "last";
+ // ### in the firstAndLast case, the standard
+ // pqf.properties file specifies that we generate a
+ // completeness=whole-field attributem, which means that
+ // we don't generate a position attribute at all. Do we
+ // care? Does it matter?