[LyX/master] Tools(listFontWithLang.pl): Allow the include of the separator glyph in the list of chars
Kornel Benko
kornel at lyx.org
Sat Jul 11 10:26:04 UTC 2020
commit b030dc5b8bcd16f176e749a37b086b617d8c4369
Author: Kornel Benko <kornel at lyx.org>
Date: Sat Jul 11 12:46:26 2020 +0200
Tools(listFontWithLang.pl): Allow the include of the separator glyph in the list of chars
For instance:
listFontWithLang.pl -c 'a-z\,A-Z'
is not the same now as
listFontWithLang.pl -c 'a-z,A-Z'
---
development/tools/GetOptions.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/development/tools/GetOptions.pm b/development/tools/GetOptions.pm
index 42e29ff..3141ee1 100644
--- a/development/tools/GetOptions.pm
+++ b/development/tools/GetOptions.pm
@@ -101,7 +101,7 @@ sub handleOptions($)
}
else {
if (defined($optionsDef{$option}->{listsep})) {
- my @list = split($optionsDef{$option}->{listsep}, $value);
+ my @list = split(/(?<!\\)$optionsDef{$option}->{listsep}/, $value);
$options{$fieldname} = \@list;
}
else {
More information about the lyx-cvs
mailing list