Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions EDSEditorGUI/InsertObjects.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private bool Verify(bool InitiallyDisableIfError = false)
int j = 1;
foreach (ODentry od in srcObjects.Values)
{
String numpattern = @"(\w*\d+\Z)";
String numpattern = @"(\d+\Z)";
string newname;

string[] words = Regex.Split(od.parameter_name, numpattern);
Expand Down Expand Up @@ -235,7 +235,7 @@ private void Button_create_Click(object sender, EventArgs e)
UInt16 newIndex = (UInt16)(od.Index + o);
ODentry newObject = od.Clone();

String pattern = @"(\w*\d+\Z)";
String pattern = @"(\d+\Z)";

string[] words = Regex.Split(od.parameter_name, pattern);
// MatchCollection nummatches = System.Text.RegularExpressions.Regex.Matches(od.parameter_name, numpattern);
Expand Down
Loading