summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-22 14:49:18 +0000
committermidipix <writeonce@midipix.org>2024-02-22 14:49:18 +0000
commit7a39baab1e7cad116cd3583b61faeccd6fec8164 (patch)
tree6ee674a126ed5af4b6b9cca4586a8dd3b1a06798 /src
parentf875f2cb0744bf1ae211eda1c2c39c249b76f841 (diff)
downloadslibtool-7a39baab1e7cad116cd3583b61faeccd6fec8164.tar.bz2
slibtool-7a39baab1e7cad116cd3583b61faeccd6fec8164.tar.xz
slbt_ar_output_mapfile(): support extended regex.
Diffstat (limited to 'src')
-rw-r--r--src/arbits/slbt_archive_mapfile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arbits/slbt_archive_mapfile.c b/src/arbits/slbt_archive_mapfile.c
index 379e278..07d947d 100644
--- a/src/arbits/slbt_archive_mapfile.c
+++ b/src/arbits/slbt_archive_mapfile.c
@@ -63,7 +63,7 @@ static int slbt_ar_output_mapfile_impl(
return SLBT_NESTED_ERROR(dctx);
if ((regex = dctx->cctx->regex))
- if (regcomp(&regctx,regex,REG_NEWLINE))
+ if (regcomp(&regctx,regex,REG_EXTENDED|REG_NEWLINE))
return SLBT_CUSTOM_ERROR(
dctx,
SLBT_ERR_FLOW_ERROR);