Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix the regexp for "%FILL{...}" to accept braces in "{...}".
* twittering-mode.el (twittering-format-status): fix the regexp
for the specifier "%FILL{...}" to accept pairs of braces inside of
"{...}".
  • Loading branch information
cvmat committed Jan 16, 2010
1 parent 5239340 commit 22105a3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions ChangeLog
@@ -1,3 +1,9 @@
2010-01-17 Tadashi MATSUO <tad@mymail.twin.jp>

* twittering-mode.el (twittering-format-status): fix the regexp
for the specifier "%FILL{...}" to accept pairs of braces inside of
"{...}".

2010-01-16 Satoshi Yatagawa <yata_github@y.hauN.org>

* twittering-mode.el (twittering-get-response-header): Delete an
Expand Down
2 changes: 1 addition & 1 deletion twittering-mode.el
Expand Up @@ -1983,7 +1983,7 @@ variable `twittering-status-format'"
(format-time-string time-format created-at)))))
("c" . ,(attr 'created-at))
("d" . ,(attr 'user-description))
("FILL{\\(.*?[^%]\\)}" .
("FILL{\\(\\([^{}]*?\\|{.*?[^%]}\\|%}\\)*\\)}" .
,(lambda (context)
(let* ((str (cdr (assq 'following-string context)))
(match-data (cdr (assq 'match-data context)))
Expand Down

0 comments on commit 22105a3

Please sign in to comment.