swiper for regular languages