Larry Wall schreef:

> before anyone else points it out to me

<hihi>

> I think the long-dot
> rule is built into the parser rather than falling out of the
> longest-token rule. 

I think so too, but why then cling to the dot? 

  s:p5/[\][#][^\]*[#][\]//      (does not match \#\ )


The backslash is not (or not always) the proper character for this.


   s:p5/([.^\])[#].*?[#]\1/$1/

   thing.#                  #.xFF(1,2,3)
   thing.\#                 #\xFF
   (0 .. ^#                 #^42)

It's a prophet. :)

-- 
Groet, Ruud

Reply via email to