updated for version 7.0018
diff --git a/src/regexp.c b/src/regexp.c
index dac34a2..23e31af 100644
--- a/src/regexp.c
+++ b/src/regexp.c
@@ -2583,8 +2583,9 @@
 }
 
 /*
- * get and return the value of the hex string immediately after the current
- * position. Return -1 for invalid, or 0-255 for valid. Position is updated:
+ * Get and return the value of the hex string at the current position.
+ * Return -1 if there is no valid hex number.
+ * The position is updated:
  *     blahblah\%x20asdf
  *         before-^ ^-after
  * The parameter controls the maximum number of input characters. This will be