I just noticed this advertisement on SO:
The two words in circles make this ad target males only, since in Hebrew there are different forms of verbs for males and females. While technically correct and "legal", this is unprofessional* in my opinion, and can be easily fixed by changing the verb...
@tereško I don't care about that enough to know what it is. All I know, is I respect women, and look up to several incredible female engineers in my work line, and that's all that matters to me. I see them as coworkers, not women
If that's not good enough, fuck it I really don't care
The question mark gives the regex engine two choices: try to match the part the question mark applies to, or do not try to match it. The engine always tries to match that part. Only if this causes the entire regular expression to fail, will the engine try ignoring the part the question mark applies to.
so the engine always tries to match the part before the question mark, but only if it would cause the entire expression to fail, the engine would ignore it
it can be there, but it does not have to be, this is what the question mark is. So the engine assumes that it is there, but if the expression would fail, it ignores it?