2012-11-07

regex

input.input-small.date(type="text", placeholder="YYYY-MM-DD", name="paperReceivedDate", value="{{progress.paperReceivedDate}}")

-->

mixin dateInput('paperReceivedDate', '{{progress.paperReceivedDate}}')

와 같이 바꾸려고...


input\.input-small\.date\(type="text", placeholder="YYYY-MM-DD", name="((\w)+)\", value=\"\{\{((\w)+)\.((\w)+)\}\}"\)

-->

mixin dateInput('\1', '{{\3.\5}}')

댓글 없음:

댓글 쓰기