mirror of
https://github.com/m00natic/vlfi.git
synced 2025-01-18 12:05:31 +00:00
Use xdigit regex class in vlf-hexl-adjust-addresses.
This commit is contained in:
parent
726f50bf34
commit
fd90b3a6b1
@ -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)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user