Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6391359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T03:39:43+00:00 2026-05-25T03:39:43+00:00

My code is this: description = contents.match(/===========(.*?)What’s New in this Version/m)[1].strip The code runs

  • 0

My code is this:

description = contents.match(/===========(.*?)What's New in this Version/m)[1].strip

The code runs fine but now everything after the single quote is in blue and I need a single quote to end it. But where would I put it or how would I escape it? I tried putting a backslash before the single quote but that doesn’t change anything.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T03:39:43+00:00Added an answer on May 25, 2026 at 3:39 am

    To work around the shortcomings of the Xcode syntax highlighter, you can replace the single quote with the octal escape code for that character:

    /===========(.*?)What\047s New in this Version/m
    

    PS. You can also shorten the start of your regex a bit:

    /={11}(.*?)What\047s New in this Version/m
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a lot of C# VS2008 code that looks like this: new SqlParameter(@Description,
This code won't work. I've had everything echoed and it displays fine on the
Expanding this question on how I learnt to pass from problem description to code
OP, please replace this text with a detailed description of your problem. Your code
right now i m using this code for playing youtube videos <?php // Replace
Is it possible to code this sequence of events once an iPhone app has
would someone please write this code: this.Loaded += (s, e) => this.loaded = true;
Whilst working on some generally horrible Javascript code this morning, I came across the
var Helloworld = { onLoad: function() { // initialization code this.initialized = true; },
Basically i am having problems with my code - this is homework so would

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.