Skip to content

Commit

Permalink
Revert "metadata attributes"
Browse files Browse the repository at this point in the history
This reverts commit 6644d2b.
  • Loading branch information
Abhitocode committed Dec 23, 2024
1 parent 6644d2b commit 6eed2e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public void setParentWidget(final MetaDataEditorWidgetView.Presenter parentWidge

@PostConstruct
public void init() {
attribute.setRegExp(StringUtils.ALPHA_NUM_UNDERSCORE_DOT_REGEXP,
attribute.setRegExp(StringUtils.ALPHA_NUM_REGEXP,
StunnerFormsClientFieldsConstants.CONSTANTS.Removed_invalid_characters_from_name(),
StunnerFormsClientFieldsConstants.CONSTANTS.Invalid_character_in_name());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
public class StringUtils {

public static final String ALPHA_NUM_REGEXP = "^[a-zA-Z0-9\\-\\_]*$";
public static final String ALPHA_NUM_UNDERSCORE_DOT_REGEXP = "^[a-zA-Z0-9\\-\\_\\.]*$";
public static final String ALPHA_NUM_UNDERSCORE_DOT_GT_LT_REGEXP = "^[a-zA-Z0-9<>,\\_\\.]*$";
public static final String ALPHA_NUM_SPACE_REGEXP = "^[a-zA-Z0-9\\-\\_\\ ]*$";
public static final RegExp EXPRESSION = RegExp.compile(Patterns.EXPRESSION);
Expand Down

0 comments on commit 6eed2e9

Please sign in to comment.