All pastes #835731 Raw Edit

Something

public text v1 · immutable
#835731 ·published 2007-12-29 00:34 UTC
rendered paste body
if(preg_match_all("/Fleet(\s+)Location/i", $thescan, $regs))
{
	// ignore
}
if(preg_match("/Liquidator(\s+)Battleship(\s+)Structures(\s+)-(\s+)-(\s+)(\w+)(\s+)(\w+)(\s+)(\d+)/i", $thescan, $regs)) {
	$returnarray["F1Liquidator"] = $regs[8];
}
if(preg_match_all("/Fleet(\s+)Location/i", $thescan, $regs))
{
	// ignore
}
if(preg_match("/Liquidator(\s+)Battleship(\s+)Structures(\s+)-(\s+)-(\s+)(\w+)(\s+)(\w+)(\s+)(\d+)/i", $thescan, $regs)) {
	$returnarray["F2Liquidator"] = $regs[8];
}
if(preg_match_all("/Fleet(\s+)Location/i", $thescan, $regs))
{
	// ignore
}
if(preg_match("/Liquidator(\s+)Battleship(\s+)Structures(\s+)-(\s+)-(\s+)(\w+)(\s+)(\w+)(\s+)(\d+)/i", $thescan, $regs)) {
	$returnarray["F3Liquidator"] = $regs[8];
}
if(preg_match_all("/Fleet(\s+)Location/i", $thescan, $regs))
{
	// ignore
}
if(preg_match("/Liquidator(\s+)Battleship(\s+)Structures(\s+)-(\s+)-(\s+)(\w+)(\s+)(\w+)(\s+)(\d+)/i", $thescan, $regs)) {
	$returnarray["F4Liquidator"] = $regs[8];
}