Skip to content

Commit

Permalink
update regexps for fileName and fileText parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
diffitask committed Jan 15, 2024
1 parent 57f9777 commit cba5ee6
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file that should be created."
}
]
Expand All @@ -79,7 +79,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "[^\"\\{\\}]*?",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file that should be deleted."
}
]
Expand All @@ -93,7 +93,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file whose text should be returned."
}
],
Expand All @@ -108,13 +108,13 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file whose text should be changed."
},
{
"name": "fileText",
"type": "STRING",
"regex": "*",
"regex": ".*",
"description": "A new text to be inserted into the file."
}
],
Expand All @@ -129,7 +129,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file whose functions should be returned."
}
],
Expand All @@ -144,7 +144,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file in which the requested function code is located."
},
{
Expand All @@ -165,7 +165,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file whose classes should be returned."
}
],
Expand All @@ -180,7 +180,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file in which the requested function code is located."
},
{
Expand Down Expand Up @@ -217,7 +217,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file that should be added to Git index."
}
],
Expand All @@ -232,7 +232,7 @@
{
"name": "fileName",
"type": "STRING",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2, 3, 4, 5}$",
"regex": "^[\\w,\\s-]+\\.[A-Za-z]{2,5}$",
"description": "The name of the file that should be removed from the Git index."
}
],
Expand Down

0 comments on commit cba5ee6

Please sign in to comment.