We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e387d9 commit dc5cef6Copy full SHA for dc5cef6
1 file changed
src/org/labkey/test/util/EscapeUtil.java
@@ -16,6 +16,7 @@
16
package org.labkey.test.util;
17
18
import org.apache.commons.text.StringEscapeUtils;
19
+import org.apache.poi.ss.util.WorkbookUtil;
20
import org.eclipse.jetty.util.URIUtil;
21
import org.jetbrains.annotations.NotNull;
22
import org.jetbrains.annotations.Nullable;
@@ -227,7 +228,7 @@ public static String escapeForNameExpression(String value)
227
228
*/
229
public static String escapeForExcelSheetName(String value)
230
{
- return excelPageNeedsEscaping.matcher(value).replaceAll("_");
231
+ return WorkbookUtil.createSafeSheetName(value, '_');
232
}
233
234
/**
0 commit comments