{"id":16140390,"url":"https://github.com/mreliptik/line_edit_plus","last_synced_at":"2025-03-18T17:30:26.592Z","repository":{"id":44702842,"uuid":"450650045","full_name":"MrEliptik/line_edit_plus","owner":"MrEliptik","description":"A custom node addon bringing the power of Regex to the LineEdit node","archived":false,"fork":false,"pushed_at":"2022-01-31T09:32:57.000Z","size":1485,"stargazers_count":9,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-15T07:44:25.402Z","etag":null,"topics":["addon","godot","godot-addon","godot-engine"],"latest_commit_sha":null,"homepage":"https://twitter.com/mreliptik_","language":"GDScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MrEliptik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-21T21:50:55.000Z","updated_at":"2022-09-08T09:23:39.000Z","dependencies_parsed_at":"2022-09-11T20:30:12.386Z","dependency_job_id":null,"html_url":"https://github.com/MrEliptik/line_edit_plus","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrEliptik%2Fline_edit_plus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrEliptik%2Fline_edit_plus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrEliptik%2Fline_edit_plus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MrEliptik%2Fline_edit_plus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MrEliptik","download_url":"https://codeload.github.com/MrEliptik/line_edit_plus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244269316,"owners_count":20426196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["addon","godot","godot-addon","godot-engine"],"created_at":"2024-10-09T23:52:18.733Z","updated_at":"2025-03-18T17:30:26.236Z","avatar_url":"https://github.com/MrEliptik.png","language":"GDScript","readme":"A custom node addon bringing the power of Regex to the LineEdit node.\n\nMade for the [Godot Addon Jam](https://itch.io/jam/godot-addons-jam-1). [Itch page](https://mreliptik.itch.io/lineeditplus)\n\n## Features\n\nCustom node\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshots/lineedit_plus.png\" width=\"200\"\u003e\n\u003c/p\u003e\n\nPremade Regex patterns or custom ones\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshots/lineedit_inspector.png\" width=\"350\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshots/node_config.gif\"\u003e\n\u003c/p\u003e\n\n\nExample using `run_regex()`, the `regex_result` signal and `prevent_typing` for digits only input\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshots/example.gif\"\u003e\n\u003c/p\u003e\n\n## How to use\n\nTick the `Use Regex` box and choose between a `predefined pattern` or enter your `custom Regex pattern`.\n\n- **Prevent typing**: The lineedit node will automatically remove the characters that are not fitting the pattern\n- If not using prevent typing, call `run_regex()` to validate the regex on the text of the lineEdit. Returns true if text match the regex\n\nYou can also use the signal `regex_result(result, txt)` to get the result as the user is typing. \n\n- result is `true` if the Regex matches the text, `fasle otherwise`\n- `txt` is the text that matches the Regex\n\n*For example: If you enter a Digits only Regex, all the non digits characters will be removed when the user types them.*\n\n## How to install\n\nExtract the `line_edit_+` folder into the addons folder of you project (create one if needed).\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshots/settings.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\nThen head to `Project Settings \u003e Plugins` and enable `LineEdit+`. You can now add a new node and select `LineEdit+` instead of LineEdit.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"screenshots/new_node.png\" width=\"800\"\u003e\n\u003c/p\u003e\n\n## LICENSE\n\nThis project is distrbuted as-is, under the MIT license. Check [LICENSE](LICENSE) for more detail.\n\nMade by [MrEliptik](https://twitter.com/mreliptik_) for the [Godot Addon Jam](https://itch.io/jam/godot-addons-jam-1)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmreliptik%2Fline_edit_plus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmreliptik%2Fline_edit_plus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmreliptik%2Fline_edit_plus/lists"}