{"action":"opened","issue":{"url":"https://api.github.com/repos/datejs/DatejsTemp/issues/28","labels_url":"https://api.github.com/repos/datejs/DatejsTemp/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/datejs/DatejsTemp/issues/28/comments","events_url":"https://api.github.com/repos/datejs/DatejsTemp/issues/28/events","html_url":"https://github.com/datejs/DatejsTemp/issues/28","id":69343258,"number":28,"title":"strange regex problem?","user":{"login":"geoffreymcgill","id":62210,"avatar_url":"https://avatars.githubusercontent.com/u/62210?v=3","gravatar_id":"","url":"https://api.github.com/users/geoffreymcgill","html_url":"https://github.com/geoffreymcgill","followers_url":"https://api.github.com/users/geoffreymcgill/followers","following_url":"https://api.github.com/users/geoffreymcgill/following{/other_user}","gists_url":"https://api.github.com/users/geoffreymcgill/gists{/gist_id}","starred_url":"https://api.github.com/users/geoffreymcgill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/geoffreymcgill/subscriptions","organizations_url":"https://api.github.com/users/geoffreymcgill/orgs","repos_url":"https://api.github.com/users/geoffreymcgill/repos","events_url":"https://api.github.com/users/geoffreymcgill/events{/privacy}","received_events_url":"https://api.github.com/users/geoffreymcgill/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/datejs/DatejsTemp/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-18T20:11:15Z","updated_at":"2015-04-18T20:11:15Z","closed_at":null,"body":"_From @GoogleCodeExporter on April 18, 2015 5:51_\n\n```\nWhat steps will reproduce the problem?\n\nIm try to modify date.js to change keyword \"now\" and add \"teraz\" (mean now\nin Polish) so I made a change: \n\nnow:/^n(ow)?|teraz/i\n\nand tested like this:\n\nDate.parse(\"now\")   OK\nDate.parse(\"teraz\") FAIL\n\n...and ended with null :( \n\nbut when change to:\n\nnow:/^n(ow)?|xeraz/i\nDate.parse(\"xeraz\") OK\n\nI have tested also:\n\nnow:/^teraz/i\nDate.parse(\"teraz\") FAIL\n\nso the \"t\" char on the beginning is a problem, but why \"today\" works?\n\n\nWhat version of the product are you using? On what operating system?\n\ncurrent date.js, IE and FF on XP\n\n\nPlease provide any additional information below.\n\n\n```\n\nOriginal issue reported on code.google.com by `Ksiezykm...@gmail.com` on 4 Feb 2009 at 2:25\n\n_Copied from original issue: datejs/DateJS#62_"}}