aboutsummaryrefslogtreecommitdiffstats
path: root/tests/text_formatter/s9e/fixtures/local_url.xml
blob: 9db2bf471073c29127aa5c7b9cf27e4bc5cbbc0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0" encoding="UTF-8" ?>
<dataset>
	<table name="phpbb_bbcodes">
		<column>bbcode_id</column>
		<column>bbcode_tag</column>
		<column>bbcode_helpline</column>
		<column>display_on_posting</column>
		<column>bbcode_match</column>
		<column>bbcode_tpl</column>
		<column>first_pass_match</column>
		<column>first_pass_replace</column>
		<column>second_pass_match</column>
		<column>second_pass_replace</column>

		<row>
			<value>13</value>
			<value>local</value>
			<value></value>
			<value>1</value>
			<value>[local]{LOCAL_URL}[/local]</value>
			<value><![CDATA[<a href="{LOCAL_URL}">{LOCAL_URL}</a>]]></value>
			<value><![CDATA[!\[local\]((?:[a-z0-9\-._~\!$&'()*+,;=:@|]+|%[\dA-F]{2})*(?:/(?:[a-z0-9\-._~\!$&'()*+,;=:@|]+|%[\dA-F]{2})*)*(?:\?(?:[a-z0-9\-._~\!$&'()*+,;=:@/?|]+|%[\dA-F]{2})*)?(?:#(?:[a-z0-9\-._~\!$&'()*+,;=:@/?|]+|%[\dA-F]{2})*)?)\[/local\]!ie]]></value>
			<value><![CDATA['[local:$uid]'.$this->bbcode_specialchars('${1}').'[/local:$uid]']]></value>
			<value><![CDATA[!\[local:$uid\](?i)((?:[a-z0-9\-._~\!$&'()*+,;=:@|]+|%[\dA-F]{2})*(?:/(?:[a-z0-9\-._~\!$&'()*+,;=:@|]+|%[\dA-F]{2})*)*(?:\?(?:[a-z0-9\-._~\!$&'()*+,;=:@/?|]+|%[\dA-F]{2})*)?(?:#(?:[a-z0-9\-._~\!$&'()*+,;=:@/?|]+|%[\dA-F]{2})*)?)(?-i)\[/local:$uid\]!s]]></value>
			<value><![CDATA[<a href="http://path/to/phpBB/${1}">http://path/to/phpBB/${1}</a>]]></value>
		</row>
	</table>
</dataset>