Lines Matching refs:preg_match
105 if (preg_match("/^name=(.+)/",$o,$matches)) {
107 } elseif (preg_match("/^height=(\d+)/",$o,$matches)) {
109 } elseif (preg_match("/^descending/",$o,$matches)) {
118 …if (preg_match('/(wire|cable)\s*guide|pdu|patch|term server|lcd/i',$item['model'])) { $color = '#b…
119 …if (preg_match('/blank/i', $item['model'])) { $color = '#f…
120 …if (preg_match('/netapp|fas\d/i', $item['model'])) { $color = '#0…
121 …if (preg_match('/^Sh(elf)?\s/i', $item['model'])) { $color = '#0…
122 …if (preg_match('/cisco|catalyst|nexus/i', $item['model'])) { $color = '#F…
123 …if (preg_match('/brocade|mds/i', $item['model'])) { $color = '#8…
124 …if (preg_match('/ucs/i', $item['model'])) { $color = '#c…
125 …if (preg_match('/ibm/i', $item['model'])) { $color = '#6…
126 …if (preg_match('/hp/i', $item['model'])) { $color = '#A…
154 if (preg_match("/^\s*#/",$line) || !trim($line)) { continue; } # skip comments & blanks
156 …if (preg_match('/^\s* (\d+) \s+ (\d+) \s+ ((?:"[^"]*")|\S+) \s* ((?:"[^"]*")|(?!(?:(?:\#)|(?:link:…
165 if(preg_match( '/^\[\[[^|]+\|([^]]+)]]$/', $item['link'], $titlematch )) {