Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

syntax colouring failure

$
0
0

Some code like this

 

   new Clue( IN2, "data-bntrack-event=\"click\">$" ),

   new Clue( IN2, Pattern.compile( "itemprop=\"price\"[_

\"%
-=
w]+>
s*e" ) ),

 

The first string shows as green. The second as black. I expected both

to be green.

 

The Clue constructor is overloaded to accept String and Pattern. Code

seems to work fine.

--

Roedy Green Canadian Mind Products http://mindprod.com

Software gets slower faster than hardware gets faster.

~ Niklaus Wirth (born: 1934-02-15 age: 80) Wirth’s Law

 


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>