Search results

    1. Fellow Starmadian

      RegEx compilation thread

      heh, that's pretty awesome. I'll be working on the thread tonight, so I'll add your trick and all the other stuff that's been discussed then.
    2. Fellow Starmadian

      regEx compilation breadboard - ugh user error for sure this time

      had to add a data input reset. the main storage wasn't updating the input that the extractor used to find the specified variable.
    3. Fellow Starmadian

      regEx compilation breadboard - don't know what happened, but this one works

      I looked at the regex and it was all wrong, and not working, AFTER it had worked properly.. I'm hoping it isn't a bug and just some weird kind of user error.
    4. Fellow Starmadian

      RegEx compilation thread

      OK so here's my total solution, completed using lots of reference to GalactusX's regEx. It copies the display module with all the data, cuts it down to a single variable, extracts the value from that value for you to change. with one more button to press, it injects the value back into the...
    5. Fellow Starmadian

      regEx compilation breadboard - Added a variable extractor and injector

      Lots of help regex wise from galactusX. If you have trouble finding me crediting him it's because I haven't added it to the thread yet.
    6. Fellow Starmadian

      RegEx compilation thread

      There is so many ways to do that though, here's one example: Regex101 - online regex editor and debugger checkit :P [replacefirst]:*([a-z]+:*)[with]: input: :aaaaBBBcc: output: :BBB: hey, thats pretty neat! Thats a much more useful solution to the thing I posted for thalanor...
    7. Fellow Starmadian

      RegEx compilation thread

      So I made something, assuming you'd want to use the format described in your latest post, with some edits. Instead of your format, I have modified it slightly to read as this: :PlayerPoints1.300]:PlayerPoints2[500]:PlayerPoints3[700]: Simply because it's the one I chose for testing, it takes...
    8. Fellow Starmadian

      RegEx compilation thread

      I can see you're asking for something more in your latest post, to quote you: Jaaskinal did that perfectly, but now you want a dynamic searching and deleting regex statement. Can I assume you only want 1 field to remain after deleting the extra fluff? You also need to choose some way of...
    9. Fellow Starmadian

      RegEx compilation thread

      oh damn, so many colors! edited the main post to match.
    10. Fellow Starmadian

      RegEx compilation thread

      I've taken the liberty of filling in the down counters for the hexadecimal and binary entries. As Jaaskinal said, it's simple enough to modify these statements. I also added the counters you made for counting odd in hexadecimal, and the weird one you don't understand :P
    11. Fellow Starmadian

      RegEx compilation thread

      added the counter to your project snapem :) Currently editing all of the entries to have all of their own www.regex101.com page. Snapems I don't believe the third statement for your decimal count-down regEx is actually required, it doesn't seem to change the string. You can look at the regex...
    12. Fellow Starmadian

      RegEx compilation thread

      I'll make a counting category and add this along snapem's stuff :) I know this probably isn't possible, but I wonder if there's a way to convert from decimal to binary? I currently have a big binary adding and multiplying system that takes up a lot of space :/
    13. Fellow Starmadian

      regEx compilation breadboard - Added the decimal to binary converter

      read the post lazy :P
    14. Fellow Starmadian

      regEx compilation breadboard 1.3

      Note: not all the regEx uses are actually on the breadboard, but I will add to it frequently until they all are. ------------------------------------------------------------------------------------------ NEW: decimal to binary conversion + binary adder + binary multiplier so apparently...
    15. Fellow Starmadian

      RegEx compilation thread

      I'll have to make a ship showing off all the different things discussed here every week or so, for even better understanding.
    16. Fellow Starmadian

      RegEx compilation thread

      Since it doesn't seem like anyone else has done this yet, I'm going to start a thread to document all the practical uses in starmade for regEx that I've discovered. Hopefully this will allow people to use the the new features of display blocks without: A: Learning regEx. B: Depending on a...
    17. Fellow Starmadian

      Making AI more interesting

      Nice practical use of the regex system! about the last sector bit, when you display the current sector in a display block, it's not actually the text that would be transferred if you copied it to another block, you would only get the [sector] command. Meaning if you changed your sector the...
    18. Fellow Starmadian

      regEx syntax for removal of first or last field in a string

      ok so here's the other part to this, it all had to do with this symbol "$" which forces regex to look at the end of the line, or something :/ anywho, here's the code: [replaceall]([^:]*:BACK PARENTHESES$[with]x Now I need a way to duplicate what the other part of the code does, which is...
    19. Fellow Starmadian

      regEx syntax for removal of first or last field in a string

      so I think I finally managed to get this to do half of what I want now, use this code to remove the first field from the string: [replaceall]^(?:[^:]*\:BACK PARENTHESES{1}([^:]*:BACK PARENTHESES [with]: (replace the capital words with one of these ")" the string has to start with a : Each...
    20. Fellow Starmadian

      regEx syntax for removal of first or last field in a string

      well I want a way, in however many stages is required, to send each word to a different display block. obv. it has to be configured beforehand to a maximum number of words, I just don't know the regexp necessary to do it. So I guess I need a way to delete everything before the last word?