[yunqa.de] Re: DIRegEx find/replace line based on beginning char's

  • From: Delphi Inspiration <delphi@xxxxxxxx>
  • To: yunqa@xxxxxxxxxxxxx
  • Date: Fri, 24 Oct 2008 20:47:26 +0200

David Keith wrote:

>  Thanks Ralf. The problem apparently involves having other compiler options 
> on, as you suggested. coDotAll was on. I ignored that as it seemed to be a 
> default with the workbench. Once I turned it off it worked perfectly.

Thanks for the feedback!

>  Is this a default in the DIRegEx descendant classes as well? Do I need to 
> turn them off in code?

Yes, coDotAll enabled in TDIRegEx by default. For your pattern to work, you 
need to switch it off either in code or in the object inspector.

Ralf 

_______________________________________________
Delphi Inspiration mailing list
yunqa@xxxxxxxxxxxxx
//www.freelists.org/list/yunqa



Other related posts: