[prev in list] [next in list] [prev in thread] [next in thread] 

List:       jedit-users
Subject:    Re: [ jEdit-users ] (non)multiline regexes
From:       Kevin Hunter <hunteke () earlham ! edu>
Date:       2006-12-20 11:59:20
Message-ID: 45892598.6050803 () earlham ! edu
[Download RAW message or body]

On 20 Dec 2006 at 12:56p +0100, Vampire wrote:
> One working way would be the following regex:
> 
> Begin.*(\n.*)*End
> 
> to find the longest possible match or
> 
> Begin.*(\n.*?)*End
> 
> to find the shortest possible match.

Thank you!  And those were so simple!  Clearly I need to go back to
regex school.  :)

Kevin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-- 
-----------------------------------------------
jEdit Users' List
jEdit-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jedit-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic