Clarified Functionality and naming
parent
c85a53f57c
commit
9d536f48e9
|
@ -1,8 +1,6 @@
|
||||||
// src/services/CommentService.ts
|
|
||||||
|
|
||||||
import { Comment } from '../models/Comment';
|
import { Comment } from '../models/Comment';
|
||||||
|
|
||||||
export class CommentService {
|
export class CommentParser {
|
||||||
private regexPattern: RegExp = /(^|\s|\\r\\n|\\t|[".,;(){}\[\]!?@#])(\/?u\/[a-zA-Z0-9_]+)/g;
|
private regexPattern: RegExp = /(^|\s|\\r\\n|\\t|[".,;(){}\[\]!?@#])(\/?u\/[a-zA-Z0-9_]+)/g;
|
||||||
|
|
||||||
/**
|
/**
|
Loading…
Reference in New Issue