FIX: Only update table portion from raw post

This commit is contained in:
Keegan George
2022-07-18 11:03:57 -07:00
parent d74b713d0b
commit 2ddb6de654
4 changed files with 24 additions and 8 deletions
+4
View File
@@ -85,3 +85,7 @@ export function arrayToTable(array, columns, alignment = "center") {
// Return table
return table;
}
export function findTableRegex() {
return /((\r?){2}|^)([^\r\n]*\|[^\r\n]*(\r?\n)?)+(?=(\r?\n){2}|$)/gm;
}