branch: externals/shift-number
commit 3143a0ec886f68d3cc112528d63eb4ae83a4b073
Author: Campbell Barton <[email protected]>
Commit: Campbell Barton <[email protected]>
Cleanup: replace rx with a string literal
---
shift-number.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shift-number.el b/shift-number.el
index 3c0c8d57e9..f111c1ced4 100644
--- a/shift-number.el
+++ b/shift-number.el
@@ -31,7 +31,7 @@
"Increase or decrease the number at point."
:group 'convenience)
-(defcustom shift-number-regexp (rx (group (one-or-more num)))
+(defcustom shift-number-regexp "\\([[:digit:]]+\\)"
"Regexp for `shift-number' function.
The first parenthesized expression must match the number."
:type 'regexp