Don't use CI for feature branches

I don’t want my CI to trigger for feature branches, but it seems that I have to add this boilerplate to every job

     - /^feature.*$/

or use anchors, which aren’t much better to be honest.

Is there a better way?

in fact this doesn’t even seem to work (my feature branches don’t get built when they are raised as pull requests). This seems to be

I’m very surprised that this is not available, the CI seems capable of doing so many complex things but not this simple thing.

hold on… is gitlab CI being much smarter than me and building the feature branch but NOT creating Merge Request jobs AND picking up on those jobs in the Merge Request?