Searched refs:include_regex (Results 1 – 4 of 4) sorted by relevance
76 include_regex: Pattern = re.compile(r'^\s*#\s*include\s*"(.+?)"') variable81 if (include_regex.match('#include "file"') and82 include_regex.match(' #include "file"') and83 include_regex.match('# include "file"') and84 include_regex.match('#include "file"') and85 include_regex.match('#include "file" // comment')):86 if (not include_regex.match('#include <file>') and87 not include_regex.match('//#include "file"') and88 not include_regex.match('/*#include "file"*/')):89 found = include_regex.match('#include "file" // "')[all …]
388 // Included files are those that match at least one item in `include_regex` and394 // For example, given the input `{bucket_name: "mybucket", include_regex:402 // full path doesn't match any items in `include_regex`)406 // If `include_regex` is left empty, it will match all files by default407 // (this is equivalent to setting `include_regex: [".*"]`).413 // * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]}` will429 repeated string include_regex = 2; field
430 // Included files are those that match at least one item in `include_regex` and436 // For example, given the input `{bucket_name: "mybucket", include_regex:444 // full path doesn't match any items in `include_regex`)448 // If `include_regex` is left empty, it will match all files by default449 // (this is equivalent to setting `include_regex: [".*"]`).455 // * `{bucket_name: "mybucket", include_regex: ["directory/[^/]+"]}` will471 repeated string include_regex = 2; field
726 include_regex = re.compile(r'((\-|\/)I.*)')729 for m in (include_regex.match(elem) for elem in cmd) if m