Lea Rosema on Nostr: But, there is a npm module for that ☺️ with a regular expression engine that ...
But, there is a npm module for that ☺️ with a regular expression engine that provides linear time matching:
https://www.npmjs.com/package/re2jsI have to overcome my NPM-phobia for that, I guess. At least, it has no other dependencies, only devDependencies.
Published at
2024-11-08 11:15:12Event JSON
{
"id": "556789eb3984580de79c03ec03b2ef5436b89ed365c4c3e03804580fb8c46a9f",
"pubkey": "f08a637f70295418bc754097b336bb0f1c8ff89d6e2d4ad40fcd258b33000e05",
"created_at": 1731064512,
"kind": 1,
"tags": [
[
"e",
"d0969635dae132f4c3b40618e54452d03e607840685f25b17a9ba628301b0981",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://lea.lgbt/users/lea/statuses/113447043894243111",
"activitypub"
]
],
"content": "But, there is a npm module for that ☺️ with a regular expression engine that provides linear time matching:\n\nhttps://www.npmjs.com/package/re2js\n\nI have to overcome my NPM-phobia for that, I guess. At least, it has no other dependencies, only devDependencies.",
"sig": "3abd839cfa4ce14577560af43b21e4bba70674530d1b1622c149b545107bbb5318d2eb61da8ea078605c078346c562f67d0eedd72195f5c4240b15711571acf7"
}