]> Cypherpunks.ru repositories - gostls13.git/commit
regexp: examples for Regexp.FindIndex and Regexp.FindAllSubmatchIndex methods
authorAlex Myasoedov <msoedov@gmail.com>
Sat, 18 Nov 2017 17:49:54 +0000 (12:49 -0500)
committerIan Lance Taylor <iant@golang.org>
Sat, 30 Jun 2018 01:04:30 +0000 (01:04 +0000)
commit0dc814cd7f6a5c01213169be17e823b69e949ada
treebad448c6d1790c2601265c456bb10ea2198bd86c
parentda769814b83c4eb65681dbe682d07d4b902b554a
regexp: examples for Regexp.FindIndex and Regexp.FindAllSubmatchIndex methods

This commit adds examples that demonstrate usage in a practical way.

Change-Id: I105baf610764c14a2c247cfc0b0c06f27888d377
Reviewed-on: https://go-review.googlesource.com/78635
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/regexp/example_test.go