Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • 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
Code Project
  1. Home
  2. The Lounge
  3. So I typed 4 characters in a hour

So I typed 4 characters in a hour

Scheduled Pinned Locked Moved The Lounge
businessregex
11 Posts 7 Posters 0 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.
  • L Lost User

    My son asked my how much my employer payed me for each character, wow. Got my regex expression to work with a negative lookahead and now it works! And my validator works! WooHoo. I tried to tell my 11th grade son about regex and 4 characters in an hour to make it all work is really quite a deal. But he shook his head, quoted the price per character and walked off. children, pfft. It's regex for goodness sake.

    Rage against the narrative.
    "To Build a Fire" - A dystopian novel about project management, and I am the dog.

    P Offline
    P Offline
    PIEBALDconsult
    wrote on last edited by
    #2

    ... knowing the right four characters: priceless. :cool:

    1 Reply Last reply
    0
    • L Lost User

      My son asked my how much my employer payed me for each character, wow. Got my regex expression to work with a negative lookahead and now it works! And my validator works! WooHoo. I tried to tell my 11th grade son about regex and 4 characters in an hour to make it all work is really quite a deal. But he shook his head, quoted the price per character and walked off. children, pfft. It's regex for goodness sake.

      Rage against the narrative.
      "To Build a Fire" - A dystopian novel about project management, and I am the dog.

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #3

      He doesn't pay you "per character" - he pays you four knowing which for characters to use... it's an old joke...[^] but that doesn't mean it's not true. :laugh:

      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      1 Reply Last reply
      0
      • L Lost User

        My son asked my how much my employer payed me for each character, wow. Got my regex expression to work with a negative lookahead and now it works! And my validator works! WooHoo. I tried to tell my 11th grade son about regex and 4 characters in an hour to make it all work is really quite a deal. But he shook his head, quoted the price per character and walked off. children, pfft. It's regex for goodness sake.

        Rage against the narrative.
        "To Build a Fire" - A dystopian novel about project management, and I am the dog.

        M Offline
        M Offline
        Mark_Wallace
        wrote on last edited by
        #4

        So you're not just one type A character; you're four of them? If psychiatry weren't utter bollocks, I'd suggest that you get therapy.

        I wanna be a eunuchs developer! Pass me a bread knife!

        1 Reply Last reply
        0
        • L Lost User

          My son asked my how much my employer payed me for each character, wow. Got my regex expression to work with a negative lookahead and now it works! And my validator works! WooHoo. I tried to tell my 11th grade son about regex and 4 characters in an hour to make it all work is really quite a deal. But he shook his head, quoted the price per character and walked off. children, pfft. It's regex for goodness sake.

          Rage against the narrative.
          "To Build a Fire" - A dystopian novel about project management, and I am the dog.

          C Offline
          C Offline
          Chris Maunder
          wrote on last edited by
          #5

          Reminds me of the old joke: A well known rich businessman's wife broke her hip. The businessman got the best bone surgeon in town to do the operation. The operation consisted of lining up the broken hip and putting in a screw to secure it. The operation went fine, and the doctor sent the business man a fee for his services of $50,000. The businessman was outraged at the cost, and sent the doctor a letter demanding an itemized list of the costs. The doctor sent back a list with two things: ```text 1 screw $ 1 Knowing how to put it in $49,999 TOTAL $50,000 ``` The businessman never argued.

          cheers Chris Maunder

          1 Reply Last reply
          0
          • L Lost User

            My son asked my how much my employer payed me for each character, wow. Got my regex expression to work with a negative lookahead and now it works! And my validator works! WooHoo. I tried to tell my 11th grade son about regex and 4 characters in an hour to make it all work is really quite a deal. But he shook his head, quoted the price per character and walked off. children, pfft. It's regex for goodness sake.

            Rage against the narrative.
            "To Build a Fire" - A dystopian novel about project management, and I am the dog.

            A Offline
            A Offline
            Agent__007
            wrote on last edited by
            #6

            Eggbert Bartholomew Bligh wrote:

            It's regex for goodness sake.

            :laugh: :thumbsup: I have spent a good deal of time working with regexes (is that the correct plural form?). It's always a great fun. And I just love the "invincible" feeling when I manage to get the expression to work. :cool:

            You have just been Sharapova'd.

            1 Reply Last reply
            0
            • L Lost User

              My son asked my how much my employer payed me for each character, wow. Got my regex expression to work with a negative lookahead and now it works! And my validator works! WooHoo. I tried to tell my 11th grade son about regex and 4 characters in an hour to make it all work is really quite a deal. But he shook his head, quoted the price per character and walked off. children, pfft. It's regex for goodness sake.

              Rage against the narrative.
              "To Build a Fire" - A dystopian novel about project management, and I am the dog.

              A Offline
              A Offline
              Agent__007
              wrote on last edited by
              #7

              Eggbert Bartholomew Bligh wrote:

              It's regex for goodness sake.

              :laugh: :thumbsup: I have spent a good deal of time working with regexes (is that the correct plural form?). It's always a great fun. And I just love the "invincible" feeling when I manage to get the expression to work. :cool:

              You have just been Sharapova'd.

              M 1 Reply Last reply
              0
              • A Agent__007

                Eggbert Bartholomew Bligh wrote:

                It's regex for goodness sake.

                :laugh: :thumbsup: I have spent a good deal of time working with regexes (is that the correct plural form?). It's always a great fun. And I just love the "invincible" feeling when I manage to get the expression to work. :cool:

                You have just been Sharapova'd.

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #8

                Yeah, that's why people climb Everest. No-one is stupid enough to try to make a career out of climbing Everest, though. There must be thirty easier to implement and far, far easier to maintain ways of doing anything that can be done with a regex. The only reason people use it is snooty bragging rights, and that's not a good reason for doing anything as part of your profession. And yes, I have used regex extensively, but I still rank it as only slightly less ridiculous than brainfuck.

                I wanna be a eunuchs developer! Pass me a bread knife!

                A 1 Reply Last reply
                0
                • M Mark_Wallace

                  Yeah, that's why people climb Everest. No-one is stupid enough to try to make a career out of climbing Everest, though. There must be thirty easier to implement and far, far easier to maintain ways of doing anything that can be done with a regex. The only reason people use it is snooty bragging rights, and that's not a good reason for doing anything as part of your profession. And yes, I have used regex extensively, but I still rank it as only slightly less ridiculous than brainfuck.

                  I wanna be a eunuchs developer! Pass me a bread knife!

                  A Offline
                  A Offline
                  Agent__007
                  wrote on last edited by
                  #9

                  :thumbsup:

                  Mark_Wallace wrote:

                  There must be thirty easier to implement and far, far easier to maintain ways of doing anything that can be done with a regex

                  Indeed! For most of the cases, a few if-else blocks and it's done. But regexes* are fun, although I don't use them too often. And it's fun to watch (and then help) people (with no or little clue about regexes*) when they are asked to write one. :rolleyes: * Again, not sure if that's the correct plural form.

                  You have just been Sharapova'd.

                  M 1 Reply Last reply
                  0
                  • L Lost User

                    My son asked my how much my employer payed me for each character, wow. Got my regex expression to work with a negative lookahead and now it works! And my validator works! WooHoo. I tried to tell my 11th grade son about regex and 4 characters in an hour to make it all work is really quite a deal. But he shook his head, quoted the price per character and walked off. children, pfft. It's regex for goodness sake.

                    Rage against the narrative.
                    "To Build a Fire" - A dystopian novel about project management, and I am the dog.

                    D Offline
                    D Offline
                    Dexterus
                    wrote on last edited by
                    #10

                    I was always amazed how at this job I'm still around a few hundred euros per line of code after 3 years; I'm pretty sure I've written more lines in Word and Excel. I miss writing code, somewhat, but I've learned so much more by debugging. The most important is that I really miss debugging in Visual Studio :laugh: ; loading 20 meg binaries over JTAG and sometimes not having a working debugger is a pain, a fun pain. Not my fault they use me to put out fires.

                    1 Reply Last reply
                    0
                    • A Agent__007

                      :thumbsup:

                      Mark_Wallace wrote:

                      There must be thirty easier to implement and far, far easier to maintain ways of doing anything that can be done with a regex

                      Indeed! For most of the cases, a few if-else blocks and it's done. But regexes* are fun, although I don't use them too often. And it's fun to watch (and then help) people (with no or little clue about regexes*) when they are asked to write one. :rolleyes: * Again, not sure if that's the correct plural form.

                      You have just been Sharapova'd.

                      M Offline
                      M Offline
                      Mark_Wallace
                      wrote on last edited by
                      #11

                      Agent__007 wrote:

                      * Again, not sure if that's the correct plural form.

                      For a quick fix, I'd go for regex[n]

                      I wanna be a eunuchs developer! Pass me a bread knife!

                      1 Reply Last reply
                      0
                      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
                      • World
                      • Users
                      • Groups