.h文件
public:
UFUNCTION(BlueprintCallable, Category = "Regex")
bool RegexFunction(FString RegexString,FString Regexexpression);
.cpp文件
// Fill out your copyright notice in the Description page of Project Settings.
#include "RegexCompoent.h"
#include "Runtime/Core/Public/Internationalization/Regex.h"
#include "Engine/Engine.h"
// Sets default values for this component's properties
URegexCompoent::URegexCompoent()
{
// Set this component to be initialized when the game starts, and to be ticked every frame. You can turn thes