Regular expressions?

Get help using Construct 2

Post » Wed Jun 05, 2013 10:15 am

Is the C2 crew considering to add a Regular Expressions plugin or anything like that? I use Regex a lot in game development with Flash and Unity, especially for puzzle games. Even Multimedia Fusion 2 has such a plugin and I consider MMF2 to be obsolete since the existence of C2. I would be very happy to see Regex in C2 as well.Kurajber2013-06-05 10:17:26
B
10
S
2
G
2
Posts: 29
Reputation: 1,710

Post » Tue Jun 18, 2013 10:07 am

I'm surprised I got no response on this question.
B
10
S
2
G
2
Posts: 29
Reputation: 1,710

Post » Tue Jun 18, 2013 10:24 am

I think you should elaborate more on what regex you're looking for.
Also it appears some are already handled by the engine, in a way that is specific to C2 (have you had a look at the system expressions/system conditions ?)

As it is, I don't really see regex being particularly adaptable to C2's ways, and a plugin is probably not the best way to implement them anyway.
New to Construct ? Where to start

Image Image

Image Image

Please attach a capx to any help request or bug report !
Moderator
B
268
S
96
G
67
Posts: 7,219
Reputation: 73,729

Post » Tue Jun 18, 2013 12:09 pm

Gee, I don't know, how many 'regexes' are there? The only Regex I know about is used for searching complex patterns in text/strings, say to check if a string input is in the right format, i.e. [0-9A-Za-z]{6,}@[a-z0-9].(com|org) for e-mail addresses, [ABCDEFGH][12345678] for chess board tiles. All I see in the system expressions/system conditions regarding text/strings are just common string operations.
B
10
S
2
G
2
Posts: 29
Reputation: 1,710

Post » Tue Jun 18, 2013 1:50 pm

Regex features are on the todo list.
Scirra Founder
B
378
S
220
G
84
Posts: 23,868
Reputation: 188,111

Post » Tue Jun 18, 2013 2:33 pm

[QUOTE=Ashley]Regex features are on the todo list.[/QUOTE]
Great. Is this todo list anywhere on the forums?
B
10
S
2
G
2
Posts: 29
Reputation: 1,710


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, OddConfection, senna68, smlyldz, yme and 11 guests