You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am new to FPDM and have a problem the first time I use it.
When I want to replace a field whose value is: /V (\(Saisir l'adresse sur 3 lignes minimum\)\rDESTINATAIRE\rADRESSE \rCP VILLE ))
He replaces with: /V <20727565206465732063616E61726473>\rDESTINATAIRE\rADRESSE \rCP VILLE )
instead of /V <20727565206465732063616E61726473>
So I corrected line 836 on /fpdm/fpdm.php : if(preg_match('#/V\s?[<(]([^>)]*)[>)]#', $CurLine, $a, PREG_OFFSET_CAPTURE))
in if(preg_match('#/V\s?[<(]([^>]*)[>)]#', $CurLine, $a, PREG_OFFSET_CAPTURE))
But is this the correct correction?
The text was updated successfully, but these errors were encountered:
NithoPamc
changed the title
FPDM Do not replace fields containing parentheses
FPDM Don't replace fields containing parentheses
Aug 16, 2021
NithoPamc
changed the title
FPDM Don't replace fields containing parentheses
Don't replace fields containing parentheses
Aug 16, 2021
Hi,
I am new to FPDM and have a problem the first time I use it.
When I want to replace a field whose value is:
/V (\(Saisir l'adresse sur 3 lignes minimum\)\rDESTINATAIRE\rADRESSE \rCP VILLE ))
He replaces with:
/V <20727565206465732063616E61726473>\rDESTINATAIRE\rADRESSE \rCP VILLE )
instead of
/V <20727565206465732063616E61726473>
So I corrected line 836 on /fpdm/fpdm.php :
if(preg_match('#/V\s?[<(]([^>)]*)[>)]#', $CurLine, $a, PREG_OFFSET_CAPTURE))
in
if(preg_match('#/V\s?[<(]([^>]*)[>)]#', $CurLine, $a, PREG_OFFSET_CAPTURE))
But is this the correct correction?
The text was updated successfully, but these errors were encountered: