V
Victor Song
I count on Mozilla JavaScript Guide. In the section for ? (question mark) at https://developer.mozilla.org/en/JavaScript/Guide/Regular_Expressions , ? "Matches the preceding character 0 or 1 time." Example:
/e?le?/ matches the 'el' in "angel" and the 'le' in "angle."
How can "l" be matched here? Shouldn't both ?'s match "e" only?
/e?le?/ matches the 'el' in "angel" and the 'le' in "angle."
How can "l" be matched here? Shouldn't both ?'s match "e" only?