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

List:       jedit-users
Subject:    Re: [ jEdit-users ] php heredoc syntax
From:       Chris Petersen <lists () forevermore ! net>
Date:       2005-06-29 2:31:57
Message-ID: 42C2081D.2020700 () forevermore ! net
[Download RAW message or body]

I just noticed that this also applies to the perl heredoc stuff, too. 
in cvs as well as in 4.2.

-Chris

Chris Petersen wrote:
> dunno why it's referred to as readins (the correct name is heredoc)... 
> anyway, there's an issue with the syntax in modes/php.xml in 4.2 (I 
> still can't upgrade to 4.3 because it's HORRIBLY slow on dual monitors, 
> and has some really weird/annoying focus issues)
> 
> <!-- Readins -->
> <SPAN_REGEXP HASH_CHAR="<" TYPE="LITERAL1" DELEGATE="PHP_LITERAL">
>   <BEGIN><![CDATA[<<<[[:space:]'"]*([[:alnum:]_]+)[[:space:]'"]*]]></BEGIN>
>   <END>$1</END>
> </SPAN_REGEXP>
> 
> technically, heredoc only matches that $1 to close at the start of a 
> line.  I've tried <END>^$1</END> and <END>\n$1</END> but neither of them 
> work.
> 
> this is a big issue, since if I use EOF as my match to print a bunch of 
> javascript, it ends the tag when I use typeof() in the javascript.
> 
> Anyone have a clue?
> 
> -Chris
> 
> 
> -------------------------------------------------------
> SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
> from IBM. Find simple to follow Roadmaps, straightforward articles,
> informative Webcasts and more! Get everything you need to get up to
> speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
-- 
-----------------------------------------------
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