Skip to content
Browse files

Fixed a bug in highlighing hex numbers (fix by Andrey Demenev)

git-svn-id: http://svn.php.net/repository/pear/packages/Text_Highlighter/trunk@263954 c90b9560-bf6c-de11-be94-00142212c4b1
  • Loading branch information...
1 parent 9c6e6f0 commit b3604f3aa10e7247b09a8994f72a80b3b82c3cbc Stoyan Stefanov committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 cpp.xml
View
10 cpp.xml
@@ -1,5 +1,5 @@
<?xml version="1.0"?>
-<!-- $Id: cpp.xml,v 1.1 2007-06-03 02:35:28 ssttoo Exp $ -->
+<!-- $Id: cpp.xml,v 1.2 2008-07-31 23:06:30 ssttoo Exp $ -->
<highlight lang="CPP" case="no">
@@ -35,10 +35,10 @@ implementation of this highlighter
<block name="identifier" match="[a-z_]\w*" innerClass="identifier" case="no"/>
- <block name="hexinteger" match="\b0[xX][\da-f]+" innerClass="number" contained="yes"/>
- <block name="integer" match="\b\d\d*|\b0\b" innerClass="number" contained="yes"/>
- <block name="octinteger" match="\b0[0-7]+" innerClass="number" contained="yes"/>
- <block name="float" match="\b(\d*\.\d+)|(\d+\.\d*)" innerClass="number" contained="yes"/>
+ <block name="hexinteger" match="\b0[xX][\da-f]+" innerClass="number"/>
+ <block name="integer" match="\b\d\d*|\b0\b" innerClass="number"/>
+ <block name="octinteger" match="\b0[0-7]+" innerClass="number"/>
+ <block name="float" match="\b(\d*\.\d+)|(\d+\.\d*)" innerClass="number"/>
<region name="strincl" delimClass="quotes" innerClass="string" start="&lt;" end="&gt;">

0 comments on commit b3604f3

Please sign in to comment.
Something went wrong with that request. Please try again.