-
-
Notifications
You must be signed in to change notification settings - Fork 654
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
Implement new Concept Exercise: Regular Expressions #2037
Comments
I would be happy to have a go at implementing a basic version including a concept exercise. |
Fixes exercism#2037 * Regular expression concept (basic version) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Regular expression concept (basic version) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Regular expression concept (basic version) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Concept: regular expressions (in Go) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Concept: regular expressions (in Go) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Concept: regular expressions (in Go) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Concept: regular expressions (in Go) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Concept: regular expressions (in Go) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Concept: regular expressions (in Go) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
Fixes exercism#2037 * Concept: regular expressions (in Go) * Concept exercise The first four tasks in the concept exercise are based on tasks in the corresponding C# exercise.
@norbs57 You wrote on Slack that you didn't cover all parts of what was described in this issue. If that was the case in the end, please create another issue that states what is currently missing (would probably be good to include a link to this issue as well). |
Current coverage of Learning Objectives:
|
@norbs57 Thanks for the summary, I created a small follow up issue. |
Getting Started
If you have not yet contributed to concept exercises before, this task requires some upfront reading to acquire the necessary background knowledge.
Here you can read about what Concept Exercises are and how they are structured:
If you have not done so yet, it is probably also helpful to do a couple of "Learning Exercises" (this is how they are called on the site) yourself. You can also look at the code of an existing concept exercise like
welcome-to-tech-palace
for reference.Also be aware of these general guidelines.
Goal
The goal here is to create a new concept exercise to teach how to use regular expressions in Go. The concept needs to be written from scratch, the exercise can be ported from another track (see details below).
Concepts
The following concept needs to be created. You can use the
introduction.md
file of the concept also asintroduction.md
file of the exercise. No need to create different content at this point. Additionally, if you want to save some time it is ok to not have an extensiveabout.md
for now. It can also be mainly theintroduction.md
content, maybe with some additions you would like to make.regular-expressions
Learning Objectives
In the concepts the student should learn about the following topics and then practice them in the concept exercise.
Compile
/MustCompile
and when to use whichMatchX
andFindX
Submatch
resultsOut of Scope
Explaining how to write regular expressions themselves is out of scope for the concept here but we should link to some good resource a student could read to learn about them from scratch. We don't do this as part of the concept because Exercism assumes the student is already fluent in another language and most languages include some form of regular expressions.
Prerequisites
runes
so the student understand the string vs bytes distinctionslices
to understand the result ofFindX
etcmethods
because most functionality is provided by methods defined for theRegExp
typeExercise Idea
C# "Parsing Log Lines" Exercise could serve as template.
In case you port that exercise, make sure to check all tasks make sense for Go and whether some additional task needs to be added to cover some Go specific content.
Resources
Here some links that might be helpful as a starting point and/or for the links section of the concept:
How to proceed
The text was updated successfully, but these errors were encountered: