[jQuery] add regex in $('.class')

[jQuery] add regex in $('.class')


I want to make this work...
$('.class' + [$[1-9][0-9]?] + '').each(function() {....etc
mean that the class would be .class0 or .class99 etc.
thanks for the help
jeremyBass
note also tried:
$('[class=Round_gen^[1-9][0-9]?]').each(function() {
$('.Round_gen'+ [(/$[1-9][0-9]?/)] +'').each(function() {
$('.Round_gen'+ (/$[1-9][0-9]?/)]+'').each(function() {
along with many others...