-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
93 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -126,10 +126,11 @@ between `/01` and `/10`. | |
|
||
Simple subfield filter consists of the subfield code (single | ||
alpha-numerical character, ex `0`) a comparison operator (equal `==`, | ||
not equal `!=` not equal, starts with prefix `=^`, ends with suffix | ||
`=$`, regex `=~`/`!~`, `in` and `not in`) and a value enclosed in single | ||
quotes. These simple subfield expressions can be grouped in parentheses | ||
and combined with boolean connectives (ex. `(0 == 'abc' || 0 == 'def')`). | ||
not equal `!=` not equal, starts with prefix `=^`, starts not with | ||
prefix `!^`, ends with suffix `=$`, regex `=~`/`!~`, `in` and `not in`) | ||
and a value enclosed in single quotes. These simple subfield expressions | ||
can be grouped in parentheses and combined with boolean connectives (ex. | ||
`(0 == 'abc' || 0 == 'def')`). | ||
|
||
A special existence operator can be used to check if a given field | ||
(`012A/00?`) or a subfield (`[email protected]?` or `002@$0?`) exists. To test for | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/snapshot/filter/0113-filter-relation-matcher-curly-starts-not-with-f.stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../data/algebra.dat |
5 changes: 5 additions & 0 deletions
5
tests/snapshot/filter/0113-filter-relation-matcher-curly-starts-not-with-f.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bin.name = "pica" | ||
args = "filter \"002@{ 0 !^ 'T' }\"" | ||
status = "success" | ||
stdout = "" | ||
stderr = "" |
1 change: 1 addition & 0 deletions
1
tests/snapshot/filter/0113-filter-relation-matcher-curly-starts-not-with-t.stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../data/algebra.dat |
1 change: 1 addition & 0 deletions
1
tests/snapshot/filter/0113-filter-relation-matcher-curly-starts-not-with-t.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../data/algebra.dat |
4 changes: 4 additions & 0 deletions
4
tests/snapshot/filter/0113-filter-relation-matcher-curly-starts-not-with-t.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bin.name = "pica" | ||
args = "filter \"002@{ 0 !^ 'A' }\"" | ||
status = "success" | ||
stderr = "" |
1 change: 1 addition & 0 deletions
1
tests/snapshot/filter/0113-filter-relation-matcher-simple-starts-not-with-f.stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../data/algebra.dat |
4 changes: 4 additions & 0 deletions
4
tests/snapshot/filter/0113-filter-relation-matcher-simple-starts-not-with-f.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
bin.name = "pica" | ||
args = "filter \"[email protected] !^ 'A'\"" | ||
status = "success" | ||
stderr = "" |
1 change: 1 addition & 0 deletions
1
tests/snapshot/filter/0113-filter-relation-matcher-simple-starts-not-with-t.stdin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../data/algebra.dat |
1 change: 1 addition & 0 deletions
1
tests/snapshot/filter/0113-filter-relation-matcher-simple-starts-not-with-t.stdout
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../data/algebra.dat |
5 changes: 5 additions & 0 deletions
5
tests/snapshot/filter/0113-filter-relation-matcher-simple-starts-not-with-t.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
bin.name = "pica" | ||
args = "filter \"[email protected] !^ 'T'\"" | ||
status = "success" | ||
stdout = "" | ||
stderr = "" |