Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 419 Bytes

0592.md

File metadata and controls

18 lines (15 loc) · 419 Bytes

Which string does the following PCRE regular expression match?

$regex = "/^([a-z]{5})[1-5]+([a-z]+)/";
  • A) frank12345abc
  • B) hello34212343goodbye
  • C) None of the above
  • D) Hello34262343goodbye
Answer

Answer: A, B