From Programming at Tyndale.cam.ac.uk Wed Feb 29 17:59:20 2012 From: Programming at Tyndale.cam.ac.uk (Stefan Bosman) Date: Wed, 29 Feb 2012 17:59:20 +0000 Subject: [FileMaker and Lisp] FM Windows Reg Ex problem Message-ID: <4F4E6778.2020204@Tyndale.cam.ac.uk> Hi, I am not pleased to having to work with FM, but fortunately saw the Reg Ex plugin Now when I try the following Text: "12345 abcd" Pattern: "12345(.*)" and request $1 I get "abcd" However when the string gets too long, eg 16 digits; I get a question mark,i.e. error It is really puzzling to me, why there would be a limitation on the return string Any ideas why and or workarounds? From katherine at kcs-inc.biz Wed Feb 29 18:29:57 2012 From: katherine at kcs-inc.biz (Katherine Simpson) Date: Wed, 29 Feb 2012 10:29:57 -0800 Subject: [FileMaker and Lisp] FM Windows Reg Ex problem In-Reply-To: <4F4E6778.2020204@Tyndale.cam.ac.uk> References: <4F4E6778.2020204@Tyndale.cam.ac.uk> Message-ID: If your result is in a number-type field, and the field object on the layout is not large enough to display the entire result, it will display as a "?". Could that be what you're seeing? -Katherine On Feb 29, 2012, at 9:59 AM, Stefan Bosman wrote: > Hi, > > I am not pleased to having to work with FM, but fortunately saw the Reg Ex plugin > Now when I try the following > Text: "12345 abcd" > Pattern: "12345(.*)" > and request $1 I get "abcd" > > However when the string gets too long, eg 16 digits; I get a question mark,i.e. error > It is really puzzling to me, why there would be a limitation on the return string > > Any ideas why and or workarounds? > > _______________________________________________ > FM-Lisp mailing list > FM-Lisp at common-lisp.net > http://lists.common-lisp.net/cgi-bin/mailman/listinfo/fm-lisp From info at jensteich.de Wed Feb 29 18:31:12 2012 From: info at jensteich.de (Jens Teich) Date: Wed, 29 Feb 2012 19:31:12 +0100 Subject: [FileMaker and Lisp] FM Windows Reg Ex problem In-Reply-To: <4F4E6778.2020204@Tyndale.cam.ac.uk> References: <4F4E6778.2020204@Tyndale.cam.ac.uk> Message-ID: <4F4E6EF0.5050005@jensteich.de> Am 29.02.12 18:59, schrieb Stefan Bosman: > Hi, > > I am not pleased to having to work with FM, but fortunately saw the Reg > Ex plugin > Now when I try the following > Text: "12345 abcd" > Pattern: "12345(.*)" > and request $1 I get "abcd" > > However when the string gets too long, eg 16 digits; I get a question > mark,i.e. error > It is really puzzling to me, why there would be a limitation on the > return string > > Any ideas why and or workarounds? Use result type 'text' instead of 'number'. jens