#!/usr/bin/perl -l # https://perlmonks.org/?node_id=1226058 use strict; use warnings; $_ = 'abc'; /(.).*\1/ or print for glob "{@{[ s/\B/,/gr ]}}" x length;
In reply to Re: Matching permutations with regex
by tybalt89
in thread Matching permutations with regex
by QM
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |