Skip to content

Commit 4e1f872

Browse files
authored
Merge pull request #155 from Warashi/fix/invalid-regex-on-darwin
fix: invalid regex on darwin
2 parents d641c25 + 7cdf342 commit 4e1f872

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

.github/workflows/smoke-test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,12 @@ concurrency:
1919

2020
jobs:
2121
test:
22-
runs-on: ubuntu-latest
22+
strategy:
23+
matrix:
24+
os:
25+
- ubuntu-latest
26+
- macos-latest
27+
runs-on: ${{ matrix.os }}
2328
steps:
2429
- uses: actions/checkout@v4
2530
- uses: cachix/install-nix-action@v26

.github/workflows/unit-test.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@ concurrency:
1313

1414
jobs:
1515
test:
16-
runs-on: ubuntu-latest
16+
strategy:
17+
matrix:
18+
os:
19+
- ubuntu-latest
20+
- macos-latest
21+
runs-on: ${{ matrix.os }}
1722
steps:
1823
- uses: actions/checkout@v4
1924
- uses: cachix/install-nix-action@v26

pkgs/build-support/elisp/parseElispHeaders.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ with builtins; let
1010
dropWhile = import ../utils/dropWhile.nix;
1111

1212
# Regular expression patterns
13-
descriptionRegex = ";;;.+ --- (.+?)";
13+
descriptionRegex = ";;;.+ --- (.+)";
1414
magicHeaderRegex = "(.+)-\\*-.+-\\*-[[:space:]]*";
1515
headerRegex = ";;[[:space:]]*(.*[^[:space:]]):([[:space:]]*.*)?";
1616

pkgs/build-support/gitUrlToAttrs.nix

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
s:
22
with builtins; let
3-
githubMatch = match "https://github.com/(.+)/(.+?)" s;
3+
githubMatch = match "https://github.com/(.+)/(.+)" s;
44
in
55
if githubMatch != null
66
then {

0 commit comments

Comments
 (0)