Skip to content

Commit d007417

Browse files
committed
Allow null multiple times at the beginning of a line in wos
1 parent 0eca7c3 commit d007417

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

functions/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
firebase-admin~=6.6.0
22
firebase_functions~=0.4.2
3-
bibx==0.6.2
3+
bibx==0.6.3
44
pydantic~=2.10.6
55
arrow~=1.3.0

src/utils/isi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const ISI_PATTERN = /^(.|null)?((?<key>[0-9A-Z]{2})| {2})( (?<value>.+))?$/;
1+
const ISI_PATTERN = /^((null)+|.)?((?<key>[0-9A-Z]{2})| {2})( (?<value>.+))?$/;
22

33
const looksLikeIsi = (content: string): boolean => {
44
for (const line of content.split("\n")) {

0 commit comments

Comments
 (0)