Actually my idea for regex was to take the 5 array elements, turn them into one big scalar string and then match patterns for example if K occurs 2 times it`s a pair of Kings, if clubs occurs 5 times its... dunno the name the all-colors-winning pattern, if 3 of 'these' and 2 of 'this' it`s 'full house'. But the idea was to turn the array into one big string and solve the problem with a 1-shot-2-rabbits.
In reply to Re^2: Checking for a special matching
by heatblazer
in thread Checking for a special matching
by heatblazer
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |