Skip to content

Commit

Permalink
Updates according to review
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed May 29, 2024
1 parent 6efead4 commit 280243f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions proposals/text_position.json → proposals/text_find.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "text_position",
"id": "text_find",
"summary": "First position of a text in another text",
"description": "Checks where the text (also known as *string*) specified for `pattern` is positioned in the text specified for `data` for the first time. No-data values are passed through.",
"categories": [
Expand Down Expand Up @@ -35,13 +35,13 @@
}
],
"returns": {
"description": "A value >= 0 that indicates the position of the text, `-1` if the text was not found.",
"description": "A value >= 0 that indicates the position of the text, `null` if the text was not found.",
"schema": {
"type": [
"integer",
"null"
],
"minimum": -1
"minimum": 0
}
},
"examples": [
Expand All @@ -50,7 +50,7 @@
"data": "Lorem ipsum dolor sit amet",
"pattern": "openEO"
},
"returns": -1
"returns": null
},
{
"arguments": {
Expand All @@ -64,7 +64,7 @@
"data": "Lorem ipsum dolor sit amet",
"pattern": "Ipsum Dolor"
},
"returns": -1
"returns": null
},
{
"arguments": {
Expand Down

0 comments on commit 280243f

Please sign in to comment.