removes russian text chunk from english text (#1544)

removes russian text chunk from english text
This commit is contained in:
Alexey Pyltsyn 2019-10-29 17:55:42 +03:00 committed by GitHub
commit 23778edc0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,7 +71,7 @@ The method `str.match(regexp)`, if `regexp` has no flag `g`, looks for the first
1. At index `0`: the full match.
2. At index `1`: the contents of the first parentheses.
3. На позиции `2`: the contents of the second parentheses.
3. At index `2`: the contents of the second parentheses.
4. ...and so on...
For instance, we'd like to find HTML tags `pattern:<.*?>`, and process them. It would be convenient to have tag content (what's inside the angles), in a separate variable.