Forum Discussion

tinauser's avatar
tinauser
Frequent Contributor
13 years ago

Distroyed language style markup

After entering the following line

var regEx = /<img[\sA-Za-z0-9_="\.]*>/g; 

Test Complete fails marking code elements (eg green for comment lines and so on).

Why?
  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor
    This is because TestComplete is syntaxing and highlighting based upon the line you have indicated.  Regular expressions, to be used in test complete, need to be entered as strings and need the string delimiter 
  • Hi,



    We are aware of similar problems with regular expression highlighting. We'll try to fix highlighting in one of future updates.