From 9d536f48e9ba05ab11e66479ae464649636040bd Mon Sep 17 00:00:00 2001 From: sloppyjosh Date: Fri, 23 Feb 2024 01:17:02 -0500 Subject: [PATCH] Clarified Functionality and naming --- src/rdrama/services/{CommentService.ts => CommentParser.ts} | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) rename src/rdrama/services/{CommentService.ts => CommentParser.ts} (94%) 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; /**