Programming

(Racket) 문자열 개수 세기

steloflute 2012. 9. 20. 23:30

(define (regexp-count rx s)

  (length (regexp-match* rx s)))