[ad_1]
Examples
1) regexp input: [a-b]/d
and array output: ['a0','a1','a2','a3','a4','a5','a6','a7','a8','a9', 'b0','b1','b2','b3','b4','b5','b6','b7','b8','b9']
2) regexp input: [a-c]
and array output: ['abc', 'acb', 'bac', 'bca', 'cab', 'cba']
[ad_2]
لینک منبع