mirror of
https://github.com/lemeow125/StudE-Frontend.git
synced 2025-06-29 08:45:46 +08:00
Added functional registration
This commit is contained in:
parent
dfc20753b3
commit
26b3db25f0
23 changed files with 679 additions and 57 deletions
9
src/components/ParseError/ParseError.tsx
Normal file
9
src/components/ParseError/ParseError.tsx
Normal file
|
@ -0,0 +1,9 @@
|
|||
export default function ParseError(text: string) {
|
||||
return text
|
||||
.replaceAll(/[{}()"]/g, " ")
|
||||
.replaceAll(/,/g, "\n")
|
||||
.replaceAll(":", "")
|
||||
.replaceAll("[", "")
|
||||
.replaceAll("]", "")
|
||||
.replaceAll(".", "");
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue