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

[Structure] Add regular expressions #683

Open
geekygirlsarah opened this issue Oct 2, 2023 · 0 comments
Open

[Structure] Add regular expressions #683

geekygirlsarah opened this issue Oct 2, 2023 · 0 comments
Labels
Experience: Meta Language Design hacktoberfest Good issue for someone to work on for Hacktoberfest help wanted We'd love to have help working on this issue Polyglots Wanted! The more multi-language users, the better! Type: Enhancement

Comments

@geekygirlsarah
Copy link
Member

Description

This issue is for adding a new structure for all languages that will let you compare a new aspect of a language. Ideally someone with many programming languages will help work on this.

This structure should show how to work with regular expressions. This could be:

  • Are regular expressions their own object or just a fancy form of a string?
  • How do you define the pattern?
  • How do you run the search of the pattern?
  • What types of objects can you run the search on? (Just strings? arrays of strings? Other things?)
  • How do you retrieve multiple matches if searching in groups?
  • Are matches returned lazily or greedily?
  • What pattern standards are used (like POSIX BRE, POSIX ERE, POSIX SRE, Perl, etc.)

Or other things. It should take some thought on all of the features that any programming language could have. Upon making this PR, expect it to have some revisions as people from various programming language backgrounds offer suggestions.

Requirements

Decide if you want to make this its own file or a part of the pre-existing strings structure file. If it's fairly large, it should probably be its own file. If it's fairly small, it could maybe go with strings.

  1. Look over the documentation at https://docs.codethesaur.us/thesaurus/add-new-structure/
  2. Add a new file under web/thesauruses/_meta named whatever feels appropriate
  3. Open up web/thesauruses/meta_info.json and add your new file to that file in the structures section.
  4. Add in some categories, then add in the concepts under that
  5. Feel free to use any _meta file as examples for how to do it
  6. Make a PR and we can help test and review it
@geekygirlsarah geekygirlsarah added Type: Enhancement help wanted We'd love to have help working on this issue hacktoberfest Good issue for someone to work on for Hacktoberfest Experience: Meta Language Design labels Oct 2, 2023
@geekygirlsarah geekygirlsarah changed the title Add thesaurus structure for regular expressions [Structure] Add regular expressions Oct 2, 2023
@geekygirlsarah geekygirlsarah added the Polyglots Wanted! The more multi-language users, the better! label Oct 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Experience: Meta Language Design hacktoberfest Good issue for someone to work on for Hacktoberfest help wanted We'd love to have help working on this issue Polyglots Wanted! The more multi-language users, the better! Type: Enhancement
Projects
Development

No branches or pull requests

1 participant