[pcre-dev] [Bug 1600] Issue with Regex

Top Page
Delete this message
Author: Prashant Joshi
Date:  
To: pcre-dev
Subject: [pcre-dev] [Bug 1600] Issue with Regex
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1600




--- Comment #2 from Prashant Joshi <pjoshi@???> 2015-03-18 10:20:39 ---
Hi ,

I am searching regex in attached text.
I tried with escaping those.
But result was same.

Can you suggest any work around here for similar regex?

Prashant Joshi
Team Lead C/C++ (CA Engagement)
HCL Technologies Ltd.
A-8/9, Sector 60, Noida 201301, U.P. (India)
Mob: +91-9717055938
E-Mail: pjoshi@???
www.hcltech.com
www.hcl.in


-----Original Message-----
From: admin@??? [mailto:admin@bugs.exim.org] On Behalf Of Philip
Hazel
Sent: Wednesday, March 18, 2015 3:45 PM
To: Prashant Joshi - ERS, HCL Tech
Subject: [Bug 1600] Issue with Regex

------- You are receiving this mail because: -------
You reported the bug.

http://bugs.exim.org/show_bug.cgi?id=1600




--- Comment #1 from Philip Hazel <ph10@???> 2015-03-18 10:14:29
---
On Wed, 18 Mar 2015, Prashant Joshi wrote:

> With PCRE version 0.2 regex "/Letzter Messwert.*</th><td
> class="ActualDataTableBody" align="center">([^<].*)</td><td
> class="ActualDataTableBody" align="center">([^<].*)</td><td
> class="ActualDataTableBody" align="center">([^<].*)</td></tr><tr><th
> scope="row" class="ActualDataTableRowLabel">Mittelwert/" is working.
> And same regex is not working with version 8.34.
>
> With on line regex tool I tested with PCRE support and it returned no match.
> www.rgextester.com


What are the actual characters of your regex and what are the delimiting
characters above? In fact, whether you are using " or / as a delimiter,
you have got instances of the delimiter inside the regex, so they need
to be escaped. I suspect this is the problem.

Philip


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email


::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended
for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information
could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in
transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on
the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the
author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction,
dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written
consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please
delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and
other defects.

----------------------------------------------------------------------------------------------------------------------------------------------------


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email