docs(guide/expressions): clarify regexp literals usage in expressions

Closes #10026

Closes #10030