+Sat February 9 2013 Shyouzou Sugitani <shy@users.sourceforge.jp>
+ * SERIKO/2.0のパターン処理用の正規表現に間違いがあったのを修正した.
+ * SERIKO/2.0のメソッドの一部でパラメータの取得に問題があったのを
+ 修正した.
+
Fri February 8 2013 Shyouzou Sugitani <shy@users.sourceforge.jp>
* SERIKO/2.0のalternativestartのID区切り文字として
ピリオドとカンマの両方を受け付けるようにした.
re_seriko2_interval = re.compile('^animation([0-9]+)\.interval$')
re_seriko2_interval_value = re.compile('^(sometimes|rarely|random,[0-9]+|periodic,[0-9]+|always|runonce|yesn-e|talk,[0-9]+|never)$')
-re_seriko2_pattern = re.compile(r'^(overlay|overlayfast|interpolate|reduce|replace|base|move|start|alternativestart)\s*,\s*([0-9]+|-[12])?\s*,?\s*([+-]?[0-9]+)?\s*,?\s*([+-]?[0-9]+)?\s*,?\s*([+-]?[0-9]+)?\s*,?\s*(\([0-9]+([\.\,][0-9]+)*\)?)$')
+re_seriko2_pattern = re.compile(r'^(overlay|overlayfast|interpolate|reduce|replace|base|move|start|alternativestart)\s*,\s*([0-9]+|-[12])?\s*,?\s*([+-]?[0-9]+)?\s*,?\s*([+-]?[0-9]+)?\s*,?\s*([+-]?[0-9]+)?\s*,?\s*(\([0-9]+([\.\,][0-9]+)*\))?$')
def get_actors(config):
version = None
method = match.group(3)
else:
method = match.group(1)
- surface = str(int(match.group(2)))
- interval = abs(int(match.group(3)))
+ surface = str(int(match.group(2) or 0))
+ interval = abs(int(match.group(3) or 0))
if method == '':
method = 'base'
if method == 'start':