Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation on tags #58

Open
TetianaKhomenko opened this issue Feb 23, 2024 · 0 comments
Open

Documentation on tags #58

TetianaKhomenko opened this issue Feb 23, 2024 · 0 comments
Labels

Comments

@TetianaKhomenko
Copy link
Collaborator

Here is technical part https://github.com/testomatio/testomatio/issues/3819#issuecomment-1956443276

Lets try define when string include tag:

  • "title with a simple @tag and some other @tag1", tags: ["tag","tag1"]
  • "@tag1 supertitle with leading tag and @tag inside title", tags: ["tag1","tag"]
  • "titile with email [email protected]", tags: []
  • "title with commed taglist @tag1,@tag2", tags: ["tag1"]
  • "title with commed taglist @tag1:@tag2", tags: ["tag1"]
  • "title with commed taglist @tag1: @tag2.", tags: ["tag1", "tag2"]
  • "title with commed taglist @tag1, @tag2.asd", tags: ["tag1","tag2.asd"]
  • "title with commed taglist @tag1_@tag2=@tag3", tags: ["tag1_"]
  • "some_text_@tag", tags: []
  • "title @tag1. zxc", tags: ["tag1"]
  • "title @tag1.asd zxc", tags: ["tag1.asd"]

Math operators:

  • "title with commed taglist @tag1+@tag2=@tag3", tags: ["tag1"]
  • "title with commed taglist @tag1-@tag2=@tag3", tags: ["tag1"]
  • "title with commed taglist @tag1*@tag2=@tag3", tags: ["tag1"]
  • "title with commed taglist @tag1=@tag2=@tag3", tags: ["tag1"]
  • "'title @tag1=:-.( asd", tags: ["tag1"]
  • "'title @tag1=:-.) asd", tags: ["tag1=:-.)"]
  • "some_text-@tag", tags: []
  • "some_text*@tag", tags: []

Outside brackets

  • "some_text (sometext)@tag1 [sometext]@tag3", tags: []
  • "some_text (sometext)@tag1 [sometext]@tag3", tags: []

Inside brackets:

  • "title (text @tag1)asda other text", tags: ["tag1)asda"]
  • "title (text @tag1) asda", tags: ["tag1)"]
  • "title (text @tag1( asda", tags: ["tag1"]
  • "title [text @tag1]asda", tags: ["tag1"]
  • "title [text @tag1] asda", tags: ["tag1"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant