SDC: Extract regexp escaping to separate method

Signed-off-by: Tomasz Michalak <tmichalak@antmicro.com>
2 files changed