Skip to content

Commit

Permalink
Add missing "s?" in CleanInfoLinesRegex (#1129)
Browse files Browse the repository at this point in the history
  • Loading branch information
natyusha authored Oct 30, 2024
1 parent eb896ad commit f47a20d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Collection/CleanDescription.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useSettingsQuery } from '@/core/react-query/settings/queries';
// The question marks are there because people can't spell…
// eslint-disable-next-line operator-linebreak -- Because dprint and eslint can't agree otherwise. Feel free to fix it.
const CleanInfoLinesRegex =
/\(?\b((Modified )?Sour?ce|Note( [1-9])?|Summ?ary|From|See Also):(?!$| a daikon)([^\r\n]+|$)/img;
/\(?\b((Modified )?Sour?ces?|Note( [1-9])?|Summ?ary|From|See Also):(?!$| a daikon)([^\r\n]+|$)/img;

// eslint-disable-next-line operator-linebreak -- Because dprint and eslint can't agree otherwise. Feel free to fix it.
const CleanMiscLinesRegex =
Expand Down

0 comments on commit f47a20d

Please sign in to comment.