Quantcast
Channel: JetBrains Developer Community : All Content - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5481

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 5481

Latest Images

Trending Articles



Latest Images