Skip to content

Commit

Permalink
Adjust comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgenherje committed Sep 26, 2024
1 parent 1f5337e commit 243c751
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ const WellTooltipContent: React.FC<WellTooltipContentProps> = (
return (
<table style={{ color: "#fff" }}>
<tbody>
{/* earliest completion date */}
<tr key={`well-tooltip-${props.name}-earliest-comp`}>
<td>
<b>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export const createWellNameRegexMatcher = (
const prevChar = index === 0 ? undefined : pattern.charAt(index - 1);

if (prevChar === undefined || !SPECIAL_ESCAPE.includes(prevChar)) {
// Add a dot before each "*" and "?" unless it's preceded by a dot already or a closing brace
if (SPECIAL_CHARACTERS.includes(character)) {
processed.push(".");
if (character === "?") continue; // '?' is replaced with '.'
Expand Down

0 comments on commit 243c751

Please sign in to comment.