Solve regexp topic profiling issues.