diff --git a/oelint_parser/parser.py b/oelint_parser/parser.py index 862ece5..721af5a 100644 --- a/oelint_parser/parser.py +++ b/oelint_parser/parser.py @@ -151,7 +151,7 @@ def get_items(stash, _file, lineOffset=0): list: List of oelint_parser.cls_item.* representations """ res = [] - __regex_var = r"^(?P([A-Z0-9a-z_-]|\$|\{|\}|:)+?)(\[(?P(\w|-|\.)+)\])*(?P(\s|\t)*(\+|\?|\:|\.)*=(\+|\.)*(\s|\t)*)(?P.*)" + __regex_var = r"^(?P([A-Z0-9a-z_.-]|\$|\{|\}|:)+?)(\[(?P(\w|-|\.)+)\])*(?P(\s|\t)*(\+|\?|\:|\.)*=(\+|\.)*(\s|\t)*)(?P.*)" __regex_func = r"^((?Ppython)\s*|(?Pfakeroot\s*))*(?P[\w\.\-\+\{\}:\$]+)?\s*\(\s*\)\s*\{(?P.*)\s*\}" __regex_inherit = r"^.*?inherit(\s+|\t+)(?P.+)" __regex_export_wval = r"^\s*?export(\s+|\t+)(?P.+)\s*=\s*\"(?P.*)\""