Coder Social home page Coder Social logo

Comments (4)

RadhikaG avatar RadhikaG commented on August 30, 2024

Could you send me a screenshot of the copied text? I'll correct my form validation format according to it then.

from chatpretty.

prempalsingh avatar prempalsingh commented on August 30, 2024

[10/19/2015, 4:08 AM] Shreya: Awake
[10/19/2015, 4:08 AM] Shreya: ?
[10/19/2015, 9:14 AM] +91 90130 48467: Arre sorry so gaya tha
[10/19/2015, 11:07 AM] +91 90130 48467: Faced any problem?⁠⁠⁠⁠

Here's the text that I copied. The same text works completely fine when I copy it from mobile. Not working when I use Whatsapp Web.

from chatpretty.

jailuthra avatar jailuthra commented on August 30, 2024

I can reproduce this bug. WhatsappWeb uses a copypasta that is significantly different from the mobile version.

@RadhikaG I guess it's time to create a function which detects the type of copypasta and returns regexp(s) to parse that particular type. We shouldn't integrate this one in the existing regexp set, it would become too complicated. Modularizing this will also ease out adding support for non-WhatsApp chats in future. Whatsay? I'm ready to take this up 😃

from chatpretty.

RadhikaG avatar RadhikaG commented on August 30, 2024

Yeah, time to modularize it. The current regexp set is getting unwieldy and hard to handle. Let's get down to it after the vacations, next week.

from chatpretty.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.