home / github / issue_comments

Menu
  • GraphQL API

issue_comments: 722064258

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions issue performed_via_github_app
https://github.com/simonw/sqlite-utils/issues/196#issuecomment-722064258 https://api.github.com/repos/simonw/sqlite-utils/issues/196 722064258 MDEyOklzc3VlQ29tbWVudDcyMjA2NDI1OA== 9599 2020-11-05T01:18:07Z 2020-11-05T01:21:31Z OWNER ``` In [8]: r = re.compile(r"""'[^']*(?:''[^']*)*'""") In [9]: r.match("'fo'o'") Out[9]: <re.Match object; span=(0, 4), match="'fo'"> In [10]: r.match("'fo''o'") Out[10]: <re.Match object; span=(0, 7), match="'fo''o'"> ``` `'[^']*(?:''[^']*)*'` This matches a single quote, then 0+ not-single-quotes, then 0+ (either 0+ not-single quotes or a double single quote), then a single quote. Unrolling the loop technique described here: http://www.softec.lu/site/RegularExpressions/UnrollingTheLoop {"total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0} 736520310  
Powered by Datasette ยท Queries took 0.862ms