Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » What's wrong in this regexp ? [SOLVED,FIXED]
Re: What's wrong in this regexp ? [message #36278 is a reply to message #36272] Thu, 17 May 2012 19:05 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1791
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi awlee!

It seems like U++ doesn't support PCRE_DOTALL flag correctly at this moment. For a quick workaround, add '(?s)' switch at the beginning of your regexp:
	String regexp = "(?s)http-equiv=\"content-type\"[^>]+charset=([^\\s\"]+).*?<title>([^<]+)";


I'll try to put together a patch to support this (and other) missing feature soon.

Best regards,
Honza
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Strange problem using URR...
Next Topic: Problem with Refreshing GUI...
Goto Forum:
  


Current Time: Sun Aug 24 14:17:26 CEST 2025

Total time taken to generate the page: 0.04668 seconds