114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
"nbsp4": [
("([:digit:])[ ]([:digit:])", "$1 $2", True, True)
],
"nnbsp4": [
("([:digit:])[ ]([:digit:])", "$1 $2", True, True)
],
"nbsp5": [
("(?<=[0-9⁰¹²³⁴⁵⁶⁷⁸⁹]) ?([kcmµnd]?(?:[slgJKΩΩℓ]|m[²³]?|Wh?|Hz|dB)|[%‰]|°C)\\b", " $1", True, True)
],
"nbsp6": [
("M(mes?|ᵐᵉˢ?|grs?|ᵍʳˢ?|lles?|ˡˡᵉˢ?|rs?|ʳˢ?|M\\.) ", "M$1 ", True, True),
("D(re?s?|ʳᵉ?ˢ?) ", "D$1 ", True, True),
("P(re?s?|ʳᵉ?ˢ?) ", "P$1 ", True, True),
("V(ves?|ᵛᵉˢ?) ", "V$1 ", True, True),
],
|
|
>
|
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
"nbsp4": [
("([:digit:])[ ]([:digit:])", "$1 $2", True, True)
],
"nnbsp4": [
("([:digit:])[ ]([:digit:])", "$1 $2", True, True)
],
"nbsp5": [
# ("(?<=[0-9⁰¹²³⁴⁵⁶⁷⁸⁹]) ?([kcmµnd]?(?:[slgJKΩΩℓ]|m[²³]?|Wh?|Hz|dB)|[%‰]|°C)\\b", " $1", True, True)
("([0-9⁰¹²³⁴⁵⁶⁷⁸⁹]) ?([kcmµnd]?(?:[slgJKΩΩℓ]|m[²³]?|Wh?|Hz|dB)|[%‰]|°C)\\b", "$1 $2", True, True) # adapted for selection only option
],
"nbsp6": [
("M(mes?|ᵐᵉˢ?|grs?|ᵍʳˢ?|lles?|ˡˡᵉˢ?|rs?|ʳˢ?|M\\.) ", "M$1 ", True, True),
("D(re?s?|ʳᵉ?ˢ?) ", "D$1 ", True, True),
("P(re?s?|ʳᵉ?ˢ?) ", "P$1 ", True, True),
("V(ves?|ᵛᵉˢ?) ", "V$1 ", True, True),
],
|