char[] arr = ['a'..'z', 'A'..'Z', '0'..'9'];
Though above example doesn't work. Is there any easy way to do this?
I am trying to do something like EBNF definitions. So, I do not want to use loops, or define every single thing one by one by hand.
tcak via Digitalmars-d-learn Wed, 21 Jan 2015 22:00:36 -0800
char[] arr = ['a'..'z', 'A'..'Z', '0'..'9'];
Though above example doesn't work. Is there any easy way to do this?
I am trying to do something like EBNF definitions. So, I do not want to use loops, or define every single thing one by one by hand.