diff --git a/inventory_provider/config.py b/inventory_provider/config.py
index 492056f33308df0450a872682a99acef97a4ad56..785c4def190a7ba9ef6489c4dfc0ea872eb8ecdb 100644
--- a/inventory_provider/config.py
+++ b/inventory_provider/config.py
@@ -186,7 +186,7 @@ CONFIG_SCHEMA = {
         'nren-asn-map': {
             'type': 'object',
             'patternProperties': {
-                '^\d+$': {'type': 'string'}
+                r'^\d+$': {'type': 'string'}
             }
         }
     },