Sunday, May 19, 2019

Output all regex permutations?

Is there a site or way to output all of the permutations of a regex pattern?



I made a simple pattern here with desired output from this 'app':




https://regex101.com/r/lE2tS8/2



or see below:



(?(Big |Small )(Brown |Green |Red )(Ball|Box))



  • Big Brown Ball


  • Big Green Ball

  • Big Red Ball

  • Small Brown Ball

  • Small Green Ball

  • Small Red Ball

  • Big Brown Box

  • Big Green Box

  • Big Red Box

  • Small Brown Box

  • Small Green Box


  • Small Red Box

No comments:

Post a Comment

plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV

In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...