summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 590d949)
raw | patch | inline | side by side (parent: 590d949)
author | Frank Livingston <frank-livingston@ti.com> | |
Fri, 26 Aug 2016 16:23:48 +0000 (11:23 -0500) | ||
committer | Frank Livingston <frank-livingston@ti.com> | |
Fri, 26 Aug 2016 16:23:48 +0000 (11:23 -0500) |
processor_audio_sdk_1_00_00_00/tools/pyalpha/pyalpha/pyalpha.py | patch | blob | history |
diff --git a/processor_audio_sdk_1_00_00_00/tools/pyalpha/pyalpha/pyalpha.py b/processor_audio_sdk_1_00_00_00/tools/pyalpha/pyalpha/pyalpha.py
index 16627df48442114e9976db6211f610ec22a579b4..efae39ef7cbb22637ff7443ed5dd6d0b6024e96d 100644 (file)
# # define alphaCommandName 0x####,0x####,...
define_str = r"^#define"
alpha_str = r"(?P<alpha>\S+)"
# # define alphaCommandName 0x####,0x####,...
define_str = r"^#define"
alpha_str = r"(?P<alpha>\S+)"
- hex_str = r"(?P<hex>(0x[a-f0-9]{4},?)+)\n$"
+ hex_str = r"(?P<hex>(0x[a-f0-9]{4},?)+)[\r\n]+$"
# Compile the regular expression
alpha_re = re.compile(define_str + " " +
# Compile the regular expression
alpha_re = re.compile(define_str + " " +