Hacker News new | ask | show | jobs
by a1369209993 2652 days ago

  "A"+"B" = Regex("A|B") = Regex("[AB]") # or maybe
  "A"+"B" !> [?]Error: cannot convert /A|B/ to type str
  "A"*6 !> TypeError: <str> * <int>