Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • CreatiCode
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

CreatiCode Scratch Forum

  1. CreatiCode Forum
  2. Feedback
  3. Regex blocks are very strict

Regex blocks are very strict

Scheduled Pinned Locked Moved Feedback
9 Posts 3 Posters 1.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Tyller_T Offline
    Tyller_T Offline
    Tyller_
    trusted helpers
    wrote on last edited by
    #1

    I have been messing with regex blocks and have found that they’re very strict without error catchers. If you enter an invalid regex (in the actual regex input or the flag input) and run it, it will soft crash your project, I also have found that regex

    I was making a regex to help separate markdown results, and after entering the regex “^(?=[).*?]$” (I’m fairly certain this was the last regex I used, it was this or a modified version of it) with the flags “gm” (neither in quotes inside the actual block) inside a regex () flag () search [list] block, it soft crashed, I reloaded and the project is hard crashed (reload button green screen of death), the project link is https://play.creaticode.com/projects/657b3d790919ac1fadb53337

    <div component="post/signature" data-uid="255" class="post-signature">Check out my chat room project so you ppl can not use forums as chat rooms! https://play.creaticode.com/projects/66f2e1dcd1be43d82b886fbd?version=1 <p dir="auto">
    </div>

    CreatiCodeI 1 Reply Last reply
    0
    • Tyller_T Tyller_

      I have been messing with regex blocks and have found that they’re very strict without error catchers. If you enter an invalid regex (in the actual regex input or the flag input) and run it, it will soft crash your project, I also have found that regex

      I was making a regex to help separate markdown results, and after entering the regex “^(?=[).*?]$” (I’m fairly certain this was the last regex I used, it was this or a modified version of it) with the flags “gm” (neither in quotes inside the actual block) inside a regex () flag () search [list] block, it soft crashed, I reloaded and the project is hard crashed (reload button green screen of death), the project link is https://play.creaticode.com/projects/657b3d790919ac1fadb53337

      CreatiCodeI Offline
      CreatiCodeI Offline
      CreatiCode
      wrote on last edited by
      #2

      @tyller_

      We will add a guard to the regex block and recover your project. Sorry about that.

      1 Reply Last reply
      0
      • Amari HarrisA Offline
        Amari HarrisA Offline
        Amari Harris
        wrote on last edited by
        #3

        Yo creaticode, When I was trying to chat to my friend saying this game is difficult to let him know to make it easier, but it rejected my comment I did not say anything disrepecful, I just said this game is difficult, I can’t even say that, c’mon man.

        CreatiCodeI 1 Reply Last reply
        0
        • Amari HarrisA Amari Harris

          Yo creaticode, When I was trying to chat to my friend saying this game is difficult to let him know to make it easier, but it rejected my comment I did not say anything disrepecful, I just said this game is difficult, I can’t even say that, c’mon man.

          CreatiCodeI Offline
          CreatiCodeI Offline
          CreatiCode
          wrote on last edited by
          #4

          @ah390683-e70b3342

          We’ll adjust it. Thanks for the feedback.

          Amari HarrisA 1 Reply Last reply
          0
          • CreatiCodeI CreatiCode

            @ah390683-e70b3342

            We’ll adjust it. Thanks for the feedback.

            Amari HarrisA Offline
            Amari HarrisA Offline
            Amari Harris
            wrote on last edited by
            #5

            @info-creaticode Also, I was trying to tell people to stop remixing my project but creaticode is not letting me submit that comment I made

            CreatiCodeI 1 Reply Last reply
            0
            • Amari HarrisA Amari Harris

              @info-creaticode Also, I was trying to tell people to stop remixing my project but creaticode is not letting me submit that comment I made

              CreatiCodeI Offline
              CreatiCodeI Offline
              CreatiCode
              wrote on last edited by
              #6

              @ah390683-e70b3342

              We will look into that setting.

              Also, if you do not want others to remix your project, you can “publish” it rather than “share” it.

              Amari HarrisA 1 Reply Last reply
              0
              • CreatiCodeI CreatiCode

                @ah390683-e70b3342

                We will look into that setting.

                Also, if you do not want others to remix your project, you can “publish” it rather than “share” it.

                Amari HarrisA Offline
                Amari HarrisA Offline
                Amari Harris
                wrote on last edited by
                #7

                @info-creaticode oh, I get it, but when you just click share does it mean that I won’t get that much views

                CreatiCodeI 1 Reply Last reply
                0
                • Amari HarrisA Amari Harris

                  @info-creaticode oh, I get it, but when you just click share does it mean that I won’t get that much views

                  CreatiCodeI Offline
                  CreatiCodeI Offline
                  CreatiCode
                  wrote on last edited by
                  #8

                  @ah390683-e70b3342

                  When you publish or share the project, others can see it in the Explore page and run it the same way. The only difference is whether others can look inside or remix it.

                  Amari HarrisA 1 Reply Last reply
                  0
                  • CreatiCodeI CreatiCode

                    @ah390683-e70b3342

                    When you publish or share the project, others can see it in the Explore page and run it the same way. The only difference is whether others can look inside or remix it.

                    Amari HarrisA Offline
                    Amari HarrisA Offline
                    Amari Harris
                    wrote on last edited by
                    #9

                    @info-creaticode oh, okay

                    1 Reply Last reply
                    0

                    Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                    Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                    With your input, this post could be even better 💗

                    Register Login
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Groups
                    • CreatiCode