top | item 43291124

(no title)

jcl | 1 year ago

It only looks for a single leading “e” or “i”, not any number. I’m guessing those tweaks were added to capture specific proper nouns that weren’t captured by simpler “leading capital letter” regexes, like “iPad” or “eBay”.

discuss

order

Izkata|1 year ago

"*" is "0 or more" and "+" is "1 or more", it looks for any number of "e" or "i" at the beginning and at least one capital letter. The diagram below the regex is wrong.

Instead of

  [ie]*-?[A-Z]+
it looks like they wanted

  [ie]?-?[A-Z]

genewitch|1 year ago

There was a product called the eeePC or so. It was a "netbook."