{"id":50138,"library":"dlclark-regexp2","title":"regexp2","description":"Package regexp2 provides a regexp engine with advanced features similar to .NET regex.","status":"active","version":"1.12.0","language":"go","source_language":null,"source_url":"https://github.com/dlclark/regexp2","tags":["regex","pattern-matching","text-processing"],"install":[{"cmd":"go get github.com/dlclark/regexp2","lang":"bash","label":"Install github.com/dlclark/regexp2"}],"dependencies":[],"imports":[{"symbol":"regexp2","correct":"github.com/dlclark/regexp2"}],"quickstart":{"code":"package main\n\nimport (\n    \"fmt\"\n    \"github.com/dlclark/regexp2\"\n)\n\nfunc main() {\n    re := regexp2.MustCompile(`(?i)hello`, 0)\n    match, _ := re.FindStringMatch(\"Hello World\")\n    fmt.Println(match.String())\n}","lang":"go","description":"Compiles a case-insensitive regex and finds a match."},"warnings":[{"fix":"Refer to the regexp2 documentation for supported syntax.","message":"regexp2 uses a different syntax than Go's standard regexp; some patterns may not be compatible.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"search_vec":"'advanc':9 'engin':7 'featur':10 'match':18 'net':13 'packag':2 'pattern':17 'pattern-match':16 'process':21 'provid':4 'regex':14,15 'regexp':6 'regexp2':1,3 'similar':11 'text':20 'text-process':19","created_at":"2026-06-15T04:41:32.481095+00:00","updated_at":"2026-06-15T04:41:32.481095+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/dlclark/regexp2","github":"https://github.com/dlclark/regexp2","docs":"https://pkg.go.dev/github.com/dlclark/regexp2#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["utility"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}