May 4, 2004 #1 arcnon Programmer Joined Aug 12, 2003 Messages 242 Location US match ^<data> but not ^-<data> thanks
May 4, 2004 #2 Geekatron Programmer Joined May 1, 2004 Messages 37 Location US Sorry, maybe i'm being dense, but...was there a question in there somewhere? --G Upvote 0 Downvote
May 5, 2004 #3 rharsh Technical User Joined Apr 2, 2004 Messages 960 Location US I think this is what you're looking for. Code: my @test = ("Some Text", "-Some More Text"); print grep {/^[^-].*/} @test; Upvote 0 Downvote
I think this is what you're looking for. Code: my @test = ("Some Text", "-Some More Text"); print grep {/^[^-].*/} @test;
May 5, 2004 #4 tazhicham Programmer Joined Oct 23, 2003 Messages 15 Location FR what's your question? exactly Upvote 0 Downvote
May 5, 2004 Thread starter #5 arcnon Programmer Joined Aug 12, 2003 Messages 242 Location US never mind what I had is working. I restarted and working as expected but data was the search word it is a xml type format <data> -<data> #<data>blah<data># <> -<data> </data> you name it there is a special character and <data> </data> pretty stupid format they should at least put it in the <> a somewhat sounder way. Anyway sorry for the poor question Upvote 0 Downvote
never mind what I had is working. I restarted and working as expected but data was the search word it is a xml type format <data> -<data> #<data>blah<data># <> -<data> </data> you name it there is a special character and <data> </data> pretty stupid format they should at least put it in the <> a somewhat sounder way. Anyway sorry for the poor question