Skip to content

Commit

Permalink
removed todos
Browse files Browse the repository at this point in the history
  • Loading branch information
carocad committed Oct 15, 2019
1 parent 4450349 commit b4ca5c6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/parcera/terminals.cljc
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,9 @@
; mentioned here: https://www.regular-expressions.info/unicode.html
; It's cooked by this generator: http://kourge.net/projects/regexp-unicode-block
; ticking all 'Combining Diacritical Marks' boxes *))
; todo: repeated pattern could be simplified
(def unicode-char "([^\\u0300-\\u036F\\u1DC0-\\u1DFF\\u20D0-\\u20FF])")
(def named-char "(newline|return|space|tab|formfeed|backspace)")
(def unicode "(u[\\dD-Fd-f]{4})")
; todo: use word boundary to avoid lookahead
(def character-pattern (str "\\\\(" unicode-char "|" named-char "|" unicode ")(?!\\w+)"))


Expand Down

0 comments on commit b4ca5c6

Please sign in to comment.