示例

示例 #1 合法模式示例

  • /<\/\w+>/
  • |(\d{3})-\d+|Sm
  • /^(?i)php[34]/
  • {^\s+(\s+)?$}

示例 #2 非法模式示例

  • /href='(.*)' - 缺失结束分隔符
  • /\w+\s*\w+/J - 未知模式修饰符"J"
  • 1-\d3-\d3-\d4| - 缺失开始分隔符

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top