q = pm.newQuery(Office.class,"this.description.toUpperCase().matches(\".*ILLAGE\")");
<BUG>c = (Collection) q.execute();
Assert.assertEquals(1,c.size());</BUG>
Assert.assertEquals(ids[1],JDOHelper.getObjectId(c.iterator().next()));
q = pm.newQuery(Office.class,"this.description.toUpperCase().matches(\".*ILLAGA\")");
<BUG>c = (Collection) q.execute();
Assert.assertEquals(0,c.size());</BUG>
q = pm.newQuery(Office.class,"this.description.toUpperCase().matches(\".*\")");
<BUG>c = (Collection) q.execute();
Assert.assertEquals(offices.length, c.size());</BUG>
q = pm.newQuery(Office.class,"this.description.matches(\"spring_field\")");

q = pm.newQuery(Office.class,"this.description.toUpperCase().matches(\".*ILLAGE\")");
c = q.executeList();
Assert.assertEquals(1,c.size());
Assert.assertEquals(ids[1],JDOHelper.getObjectId(c.iterator().next()));
q = pm.newQuery(Office.class,"this.description.toUpperCase().matches(\".*ILLAGA\")");
c = q.executeList();
Assert.assertEquals(0,c.size());
q = pm.newQuery(Office.class,"this.description.toUpperCase().matches(\".*\")");
c = q.executeList();
Assert.assertEquals(offices.length, c.size());
