나 자신을 할 수없는 패턴에 대한 도움이 필요합니다. PHP Preg_match_all regexp pattern
나는이 파일을 가지고 :description1="SIOUH : Authentification Cerbere - Acces"
description2="Acces formulaire authentification SIOUH"
addheader="Pragma: no-cache "
method="get"
url="${AUTH_URL}/login/LoginDispatchAction.do?appId=${APP_ID}&backURL=${APP_URL_ENC}"
errormessage="Phase 1 : Impossible atteindre le formulaire authentification CERBERE pour SIOUH"
serveur="yes"
verifypositive="loginConnectAppliForm"
logrequest="yes" logresponse="no" />
을 나는 완벽하게 작동이으로, preg_match_all 있습니다
preg_match_all ('#(.*?)="(.*?)"#s', $contents, $matches, PREG_SET_ORDER); //Chaque option
내 문제는 내가 내 패턴을 변경하는 방법 대신에 이중의 간단한 따옴표를 가질 수있다 처리해? 예, 나는 모든 다른 이들처럼이 줄을 잡을해야합니다
parseresponse='name="conversationId" value="|"'
는 당신의 도움을 많이 감사합니다.
완벽하지 않았습니다. # (. *?)))) # '그러나 (# :. *?) = (? : (? :?) \') 네가 더 낫다. 고마워! – timmalos