diff --git a/src/rdrama/services/CommentService.ts b/src/rdrama/services/CommentParser.ts similarity index 94% rename from src/rdrama/services/CommentService.ts rename to src/rdrama/services/CommentParser.ts index 02022ff..4412d12 100644 --- a/src/rdrama/services/CommentService.ts +++ b/src/rdrama/services/CommentParser.ts @@ -1,8 +1,6 @@ -// src/services/CommentService.ts - import { Comment } from '../models/Comment'; -export class CommentService { +export class CommentParser { private regexPattern: RegExp = /(^|\s|\\r\\n|\\t|[".,;(){}\[\]!?@#])(\/?u\/[a-zA-Z0-9_]+)/g; /**