From: WH H. <wh...@ho...> - 2013-09-28 08:23:31
|
This may work "\\\\" Each double will lead to a single J From: Phil Daintree [mailto:ph...@lo...] Sent: Saturday, September 28, 2013 10:00 AM To: webERP Developers Subject: Re: [WebERP-developers] Regular expressions Hi, Thanks that works with the double quote problem:-) So now we have: pattern="(?!^ +$)[^?\'\u0022+.&\\><]*" However, still need a bit more help though as it is still possible to enter a backslash \ into fields. I tried \u005c - we already have double backslash in there. Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 28/09/13 19:38, WH HSN wrote: Will this do the trick: http://stackoverflow.com/questions/9343082/html5-input-pattern-search-for-qu ote -----Original Message----- From: Phil Daintree [mailto:ph...@lo...] Sent: Saturday, September 28, 2013 6:13 AM To: webERP Developers Subject: Re: [WebERP-developers] Regular expressions I can't seem to trap the \ character either? Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 28/09/13 16:05, Phil Daintree wrote: I am getting into trouble with the " character as it is being interpreted as the end of the pattern - not a character that we want to trap? Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 28/09/13 15:38, Phil Daintree wrote: Hi Exson, Not thought much more about it but what about this: pattern="[^\'\+\?\."&\\<>]{1,20}" miserably cryptic but seems to work and is more what we are after... Phil Phil Daintree Logic Works Ltd - +64 (0)275 567890 http://www.logicworks.co.nz On 27/09/13 22:55, ExsonQu wrote: *Hi, Phil,* Sorry for the late response. Just return back from a business trip and Chinese Mid-Autumn holiday. I'm not sure if the no-illigal-chars pattern is enough? If not, we can modify it to meet your requirements. Thanks and best regards! Exson -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Regular-expressions-t p4656776p4656778.html Sent from the web-ERP-developers mailing list archive at Nabble.com. -------------------------------------------------------------------- ---------- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471 <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg> &iu=/4140/ostg .clktrk _______________________________________________ Web-erp-developers mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/web-erp-developers --------------------------------------------------------------------- --------- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471 <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg> &iu=/4140/ostg. clktrk _______________________________________________ Web-erp-developers mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/web-erp-developers ---------------------------------------------------------------------- -------- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471 <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.c> &iu=/4140/ostg.c lktrk _______________________________________________ Web-erp-developers mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/web-erp-developers ---------------------------------------------------------------------------- -- October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471 <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk > &iu=/4140/ostg.clktrk _______________________________________________ Web-erp-developers mailing list Web...@li... https://lists.sourceforge.net/lists/listinfo/web-erp-developers |