Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何将 bnf 转换为 ebnf !?
BNF
<Z> ::= DCd | D<N>C EBNF <Z> ::= D[<N>}C[d] or <Z> ::= D[<N>C[d]]
(我认为语法有什么问题?)
我从以开头的 php 页面获取 ajax 响应<!DOCTYPE
<!DOCTYPE
我想看看响应字符串是否以 开头<!DOCTYPE,我该如何使用 response.match(pattern) 或者我必须使用其他东西。我需要包含双引号吗?请帮忙。