support regex for sources