Skip to content

Commit

Permalink
Fix regex get exact h2 name
Browse files Browse the repository at this point in the history
  • Loading branch information
nntthuy-axonivy committed Dec 12, 2024
1 parent 8145ab3 commit aabb352
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import static com.axonivy.market.constants.ProductJsonConstants.DEFAULT_PRODUCT_TYPE;

public class ProductContentUtils {
public static final String DEMO_SETUP_TITLE = "(?i)## Demo|## Setup";
public static final String DEMO_SETUP_TITLE = "(?m)^## (Demo|Setup)$";
private static final String HASH = "#";
public static final String DESCRIPTION = "description";
public static final String DEMO = "demo";
Expand Down

0 comments on commit aabb352

Please sign in to comment.