When reading it, I was temporarily confused by the gender argument. I thought it was some kind of array of two characters. But actually "_" is a second argument, not part of gender.
Why is it on the same line as gender, when the other string literals ("<") are on their own line?
On the Regex page, there's this example:
When reading it, I was temporarily confused by the
gender
argument. I thought it was some kind of array of two characters. But actually"_"
is a second argument, not part of gender.Why is it on the same line as gender, when the other string literals (
"<"
) are on their own line?Should this be
Normally I wouldn't be so pedantic about style. But since this is a guide for beginners, perhaps style is important.
I can create a PR for this, if there's no particular reason it is the way it is.