diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-07-07 13:31:37 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2020-07-07 13:31:37 +0200 |
commit | 39eb59740d1e74b7202b9894cbf9738eb18df7c0 (patch) | |
tree | b67598dbac32540f8fec04259683ca70f9e9f74f | |
parent | 959d4442e46d8d3bef845e526219d23346a1328e (diff) |
keysymdef.h: Fix the documented perl regexp
+ is interpreted when not escaped.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
-rw-r--r-- | include/X11/keysymdef.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/X11/keysymdef.h b/include/X11/keysymdef.h index d9b591d..d4a05e4 100644 --- a/include/X11/keysymdef.h +++ b/include/X11/keysymdef.h @@ -86,8 +86,8 @@ SOFTWARE. * Mnemonic names for keysyms are defined in this file with lines * that match one of these Perl regular expressions: * - * /^\#define XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*\/\* U+([0-9A-F]{4,6}) (.*) \*\/\s*$/ - * /^\#define XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*\/\*\(U+([0-9A-F]{4,6}) (.*)\)\*\/\s*$/ + * /^\#define XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*\/\* U\+([0-9A-F]{4,6}) (.*) \*\/\s*$/ + * /^\#define XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*\/\*\(U\+([0-9A-F]{4,6}) (.*)\)\*\/\s*$/ * /^\#define XK_([a-zA-Z_0-9]+)\s+0x([0-9a-f]+)\s*(\/\*\s*(.*)\s*\*\/)?\s*$/ * * Before adding new keysyms, please do consider the following: In |