Skip to content

Commit

Permalink
Add ^ and ? to escaped regexp characters
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhuppmann committed Apr 19, 2024
1 parent c85d23d commit 6b6574a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyam/str.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import pandas as pd
from pandas.api.types import is_list_like

REGEXP_CHARACTERS = r".+()[]{}|$"
REGEXP_CHARACTERS = r".^$+?()[]{}|"


def concat_with_pipe(x, *args, cols=None):
Expand Down

0 comments on commit 6b6574a

Please sign in to comment.