This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<config> | |
<sections> | |
<payment> | |
<groups> | |
<foggyline_stripe translate="label" module="pay"> | |
<label>Foggyline Stripe</label> | |
<tab>Sales</tab> | |
<frontend_type>text</frontend_type> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$str[] = ':jamie_h!~textual@72.32.115.231 PRIVMSG #test_channel :test message'; | |
$str[] = ':jamie_h!~textual@72.32.115.231 PRIVMSG #test_channel :fii message'; | |
$str[] = ':jamie_h!~textual@72.32.115.231 PRIVMSG #test_channel :foo message'; | |
$str[] = ':jamie_h!~textual@72.32.115.231 PRIVMSG #test_channel :message test boo'; | |
$str[] = ':jamie_h!~textual@72.32.115.231 PRIVMSG #test_channel :blaat fii message'; | |
foreach($str as $s) { | |
preg_match('/:([^!]+)[^:]+:(.*(test|fii).*)/', $s, $matches); |