juxtaposition-ui icon indicating copy to clipboard operation
juxtaposition-ui copied to clipboard

Post body regex parser error

Open jonbarrow opened this issue 2 years ago • 0 comments

Too lazy to make a PR, sorry lol

The regex used when making posts has a parser error

https://github.com/PretendoNetwork/juxt-web/blob/737c9815b12b802f8daf5e9e6af2b7d8ee40f106/src/services/juxt-web/routes/console/posts.js#L151

The - character near the beginning should be escaped as \-, otherwise this is invalid regex

jonbarrow avatar Mar 19 '23 20:03 jonbarrow