q = pm.newQuery(Office.class,"this.description.matches(\"spring.field\")");
<BUG>c = (Collection) q.execute();
Assert.assertEquals(1,c.size());</BUG>
Assert.assertEquals(ids[2],JDOHelper.getObjectId(c.iterator().next()));
q = pm.newQuery(Office.class,"this.description.matches(\"percent%city\")");
<BUG>c = (Collection) q.execute();
Assert.assertEquals(1,c.size());</BUG>
Assert.assertEquals(ids[3],JDOHelper.getObjectId(c.iterator().next()));
q = pm.newQuery(Office.class,"this.description.matches(\"percent.city\")");
<BUG>c = (Collection) q.execute();
Assert.assertEquals(1,c.size());</BUG>
Assert.assertEquals(ids[3],JDOHelper.getObjectId(c.iterator().next()));

q = pm.newQuery(Office.class,"this.description.matches(\"spring.field\")");
c = q.executeList();
Assert.assertEquals(1,c.size());
Assert.assertEquals(ids[2],JDOHelper.getObjectId(c.iterator().next()));
q = pm.newQuery(Office.class,"this.description.matches(\"percent%city\")");
c = q.executeList();
Assert.assertEquals(1,c.size());
Assert.assertEquals(ids[3],JDOHelper.getObjectId(c.iterator().next()));
q = pm.newQuery(Office.class,"this.description.matches(\"percent.city\")");
c = q.executeList();
Assert.assertEquals(1,c.size());
Assert.assertEquals(ids[3],JDOHelper.getObjectId(c.iterator().next()));
