{"action":"closed","issue":{"url":"https://api.github.com/repos/stedolan/jq/issues/1776","repository_url":"https://api.github.com/repos/stedolan/jq","labels_url":"https://api.github.com/repos/stedolan/jq/issues/1776/labels{/name}","comments_url":"https://api.github.com/repos/stedolan/jq/issues/1776/comments","events_url":"https://api.github.com/repos/stedolan/jq/issues/1776/events","html_url":"https://github.com/stedolan/jq/issues/1776","id":389266717,"node_id":"MDU6SXNzdWUzODkyNjY3MTc=","number":1776,"title":"^ not matching start of line","user":{"login":"mickdaly","id":6290216,"node_id":"MDQ6VXNlcjYyOTAyMTY=","avatar_url":"https://avatars2.githubusercontent.com/u/6290216?v=4","gravatar_id":"","url":"https://api.github.com/users/mickdaly","html_url":"https://github.com/mickdaly","followers_url":"https://api.github.com/users/mickdaly/followers","following_url":"https://api.github.com/users/mickdaly/following{/other_user}","gists_url":"https://api.github.com/users/mickdaly/gists{/gist_id}","starred_url":"https://api.github.com/users/mickdaly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mickdaly/subscriptions","organizations_url":"https://api.github.com/users/mickdaly/orgs","repos_url":"https://api.github.com/users/mickdaly/repos","events_url":"https://api.github.com/users/mickdaly/events{/privacy}","received_events_url":"https://api.github.com/users/mickdaly/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-12-10T11:52:38Z","updated_at":"2018-12-11T20:14:00Z","closed_at":"2018-12-11T20:14:00Z","author_association":"NONE","body":"**Describe the bug**\r\n`^` does not work with regular expression\r\n\r\n**To Reproduce**\r\n```\r\n>echo \"test\" | jq \"match(\\\"^(e)\\\")\"\r\n{\r\n  \"offset\": 1,\r\n  \"length\": 1,\r\n  \"string\": \"e\",\r\n  \"captures\": [\r\n    {\r\n      \"offset\": 1,\r\n      \"length\": 1,\r\n      \"string\": \"e\",\r\n      \"name\": null\r\n    }\r\n  ]\r\n}\r\n```\r\n\r\n```\r\n> echo \"test\" | jq \"match(\\\"(^e)\\\"; \\\"s\\\")\"\r\n{\r\n  \"offset\": 1,\r\n  \"length\": 1,\r\n  \"string\": \"e\",\r\n  \"captures\": [\r\n    {\r\n      \"offset\": 1,\r\n      \"length\": 1,\r\n      \"string\": \"e\",\r\n      \"name\": null\r\n    }\r\n  ]\r\n}\r\n```\r\n**Expected behavior**\r\nNo results returned, same as\r\n```\r\n>echo \"test\" | jq \"match(\\\"(e)$\\\")\"\r\n\r\n``\r\n\r\n**Environment (please complete the following information):**\r\n - Windows 10\r\n - jq version 1.6\r\n"}}
{"actor":{"display_login":"nicowilliams"}}