regexy example

Code



Application output:

--- match 0 --- pre-match: '<html><body><p>' fields[0]: '{{ FIRST ' (complete match, all fields, popFront to remove) fields[1]: 'FIRST' post-match: '}}</p></body></html> <html><body><p>{{SECOND }}</p></body></html>' --- match 1 --- pre-match: '<html><body><p>{{ FIRST }}</p></body></html> <html><body><p>' fields[0]: '{{SECOND ' (complete match, all fields, popFront to remove) fields[1]: 'SECOND' post-match: '}}</p></body></html>'

Paste info


Author: Zorael
Views: 542
Private: no
Expires: Never
Uploaded: 08.07.14 15:54
Votes: 0

Compilation


Compiler: DMD 2.077.1 ( 2.077.1 )
Pointer size: m64

Actions