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

Positive Lookahead - missing white space in description. #239

Open
Githiora opened this issue Oct 3, 2021 · 0 comments
Open

Positive Lookahead - missing white space in description. #239

Githiora opened this issue Oct 3, 2021 · 0 comments

Comments

@Githiora
Copy link

Githiora commented Oct 3, 2021

In section 4.1: Positive Lookahead the regex is specified as:

(T|t)he(?=\sfat)

which includes the "\s" for a white space. However in the explanation it states:

In parentheses we define a positive lookahead which tells the regular expression engine to match The or the only if it's followed by the word fat.

Problem: Explanation is missing mention of the white space.

Solution: Explanation should indicate that the regex requires a whitespace.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant