branch: externals/vlf
commit fd90b3a6b18154afd8e33b607dc188afa7e29b71
Author: Andrey Kotlarski <[email protected]>
Commit: Andrey Kotlarski <[email protected]>

    Use xdigit regex class in vlf-hexl-adjust-addresses.
---
 vlf-tune.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/vlf-tune.el b/vlf-tune.el
index 21441f5..71e3d5f 100644
--- a/vlf-tune.el
+++ b/vlf-tune.el
@@ -199,7 +199,7 @@ FILE-NAME if given is to be used instead of 
`buffer-file-name'."
   (let ((pos (point))
         (address vlf-start-pos))
     (goto-char (point-min))
-    (while (re-search-forward "^[0-9a-f]+" nil t)
+    (while (re-search-forward "^[[:xdigit:]]+" nil t)
       (replace-match (format "%08x" address))
       (setq address (+ address hexl-bits)))
     (goto-char pos)))

Reply via email to