Commit Graph

2 Commits

Author SHA1 Message Date
Hideki Yamane 6eecf339c0 Fix regular expression
>>> import os
>>> import re
>>> import string
>>> import sys
>>> netsnmp_libs="-Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmp -lcrypto -lm"
>>> print netsnmp_libs
-Wl,-z,relro -Wl,-z,now -L/usr/lib/x86_64-linux-gnu -lnetsnmp -lcrypto -lm
>>> re.findall(r"-l(\S+)", netsnmp_libs)
['inux-gnu', 'netsnmp', 'crypto', 'm']

 Just inserting space will fix this.
>>> re.findall(r" -l(\S+)", netsnmp_libs)
['netsnmp', 'crypto', 'm']
Reviewed-by: Craig Small <csmall@debian.org>
LAst-Update: 2019-02-07

Gbp-Pq: Name fix_regular_expression.patch
2022-06-27 15:01:26 +08:00
Lu zhiping f031e13d35 Import Upstream version 5.8+dfsg 2022-06-27 15:01:12 +08:00