rocknroll wrote:use search function in this forum, or search on google with keyword regex perl
i did search but couldn't understand it..would you mind explaining it to me?especially on how to assign $.lastMatch with console has number and text in it..
rocknroll wrote:i guess, you did not search it.
maybe this can help you to be a diligent person
wow, where did you get this sir?can you please share the link..i did search sir for lectures about regexp but sadly, i don't understand it..the only thing i get is that "\d or \d+" pertains to digits..T_T..thank you sir for the illustration..sir, what would the exp "(.*)" in the beg and end of the word trigger means?
unknown player wrote:sir, what would the exp "(.*)" in the beg and end of the word trigger means?
it work when u say "ahealb", or "asdasdasdasa1222233kyriezzzzeeeezzzz". that's mean any word at the beginning or at the end.
ah i see..thanks sir..but how about triggering word coming from npc..can i do this: console /\(.*)\: (.*)heal|kyrie(.*)$/ and with this my $.lastMatch would be numbered as 2..am i right sir?thank you for answering my question sir..^_^