jam Posted October 21, 2005 Author Report Share Posted October 21, 2005 Nu par ko runa? Par to, ka pajautaa jautaajumu? Piedod, neesmu maacijies programmeshanas pamatus RTU vai LU, bet pats urbjos cauri kaa maaku. Labi, ka ir google, tur daudz ko var atrast, bet, ja nevar, jajautaa cilvekiem konkreeti. Vot tas preg_mach arii neshancee. Searches subject for a match to the regular expression given in pattern. Meklee vai satur, bet ja man ir araijaa ir SGN_606M un SGN_606MEX ,tad, ja $xx = 'SGN_606M' , protams, ka tiks atrasts arii SGN 606MEX. Link to comment Share on other sites More sharing options...
bubu Posted October 21, 2005 Report Share Posted October 21, 2005 Domaa es maaciijos pamatus LU vai RTU? Es arii pats urbos visam cauri pats - pie tam taados senos laikos, kad nemaz neta man veel nebij. Tad ne guugles nebija, ne foruma. Tikai pa dokumentaaciju bij vien jaalasa. Link to comment Share on other sites More sharing options...
jam Posted October 22, 2005 Author Report Share Posted October 22, 2005 atrisinājums sanāca šāds preg_match("/\b".$_GET['pl']."\b/i", $filename[$i]) \b nozīmē distinct search, tb tikai un vienīgi, ja sakrīt. Link to comment Share on other sites More sharing options...
bubu Posted October 22, 2005 Report Share Posted October 22, 2005 nop. \b nozīme word boundary. Link to comment Share on other sites More sharing options...
jam Posted October 23, 2005 Author Report Share Posted October 23, 2005 nop. \b nozīme word boundary. 25302[/snapback] ph, galvenais, ka rezultāts Link to comment Share on other sites More sharing options...
Recommended Posts